Black Friday Black FridayUp to 85% off all WP Ghost plans.48 months from $49, or pay once for lifetime. SHOP NOW

Will WP Ghost Replace My SEO Plugin’s Sitemap?

Moved

This tutorial has moved to the new WP Ghost Knowledge Base where each feature is presented in detail.

View on new site

No. WP Ghost doesn’t create or replace sitemaps; your SEO plugin still builds them. WP Ghost only changes the WordPress paths inside the sitemap and can remove the plugin’s author note and XSL style.

What does WP Ghost actually do to the sitemap?

When you enable Change Paths in Sitemaps XML in WP Ghost > Tweaks > Feed & Sitemap, WP Ghost filters the sitemap output at runtime. It replaces default paths like /wp-content/uploads/ with your custom paths, so the sitemap doesn’t expose the WordPress directory structure. If you also enable Remove Plugins Authors & Style in Sitemap XML, it strips the SEO plugin’s branding (like “Generated by Yoast SEO”) and the XSL stylesheet from the output.

The sitemap content itself (which pages, posts, images, and URLs are included) is entirely controlled by your SEO plugin. WP Ghost only modifies how the paths look, not what’s in the sitemap.


Do I need to update Google Search Console after changing paths?

When you first enable WP Ghost’s path changes, resubmit your sitemap in Google Search Console so Google re-indexes the new URLs faster. After that initial resubmission, you don’t need to do anything else. If you later create a new sitemap (for example, adding a video sitemap or product sitemap through your SEO plugin), WP Ghost automatically applies the same path filtering to the new sitemap. There’s no per-sitemap configuration.

The sitemap URL itself doesn’t change. Your SEO plugin still serves the sitemap at the same URL (like yourdomain.com/sitemap.xml or yourdomain.com/sitemap_index.xml). Only the image paths and plugin metadata inside the sitemap change.

Which SEO plugins does this work with?

WP Ghost has sitemap handling for Yoast SEO, Rank Math, SEOPress, Squirrly SEO and the WordPress core sitemap. Other sitemap plugins aren’t handled specifically, so check their sitemap source after you enable the options.

For the complete sitemap security guide, see the feed, sitemap, and robots.txt tutorial. For removing plugin branding from the sitemap specifically, see the remove authors and style tutorial.

Frequently asked questions

Will this affect my SEO rankings?

No. Google reads the URLs in the sitemap, not the author note or the XSL stylesheet, and the paths in the sitemap match the ones visitors see on your site.

What if I switch SEO plugins?

If you switch between the supported sitemaps (Yoast SEO, Rank Math, SEOPress, Squirrly SEO or the WordPress core sitemap), WP Ghost keeps filtering the output with no reconfiguration.

Does this work with WooCommerce product sitemaps?

Yes. WooCommerce products, categories, and product images in the sitemap are all processed by WP Ghost. Plugin author names and styles are removed from all sitemap outputs, including WooCommerce-specific sitemaps.

Does WP Ghost modify WordPress core files?

No. WordPress generates the sitemap dynamically. WP Ghost filters the output at runtime using WordPress hooks before it reaches the browser. No files are created, edited, or deleted. Disabling the sitemap options instantly restores the original sitemap with plugin branding and default paths.