Strip SEO plugin author names and custom CSS styling from your sitemap XML output with WP Ghost. SEO plugins like Yoast, Rank Math, and All in One SEO add their branding to your sitemap. Open any default WordPress sitemap in a browser and you’ll see the plugin name, a styled interface, and sometimes the developer’s website link – all publicly visible. None of it helps SEO. All of it confirms your WordPress stack. WP Ghost removes it in one click.
These additions are entirely cosmetic. Google doesn’t read XSL stylesheets. Google doesn’t care who generated the sitemap. But anyone who visits yourdomain.com/sitemap.xml – including bots, scanners, and theme detectors – sees exactly which SEO plugin you’re using. From that single data point, they can infer your CMS (WordPress), your SEO setup, and potentially the plugin version if the stylesheet URL contains version parameters.
This is a quick win that removes a completely unnecessary information leak. Here’s why it matters for your hack prevention strategy:
The author name confirms your SEO plugin. Knowing you use Yoast SEO tells an attacker which plugin vulnerabilities to probe. Yoast has had documented security issues in the past. So has Rank Math. So has every popular SEO plugin. If an attacker knows which one you’re running, they don’t need to guess – they just check the latest CVE database for known exploits targeting that plugin.
The XSL stylesheet adds unnecessary requests. The custom stylesheet is an additional file that browsers load when rendering the sitemap. It serves no purpose for search engines and adds an extra HTTP request. Removing it produces a cleaner, faster-loading sitemap.
It contributes zero SEO value. Google processes the XML structure of your sitemap, not the visual formatting. The author name, branding, and stylesheet have no impact whatsoever on how Google crawls, indexes, or ranks your pages. Removing them changes nothing for search engines.
It’s the last piece of a complete sitemap cleanup. If you’ve already enabled Change Paths in Sitemap XML to replace WordPress directory paths, removing the author and style is the final step to ensure your sitemap reveals nothing about your WordPress setup.
Two toggles, both in the same settings panel.
Important: You must enable Change Paths in Sitemap XML first. The author/style removal option depends on it. If you only enable the removal toggle without the path change toggle, it won’t take effect.
Visit yourdomain.com/sitemap.xml in a private browser window after clearing your cache. Instead of a branded, styled interface with plugin credits, you’ll see a clean, standard XML sitemap:
The plugin author name is gone. No “Generated by Yoast SEO,” no “Powered by Rank Math,” no plugin branding of any kind. The sitemap is anonymous raw XML.
The XSL stylesheet is removed. The sitemap renders as plain XML in the browser instead of a formatted, branded page. This is how Google actually processes it – you’re now seeing what Google sees.
Image paths use your custom URLs. Because you enabled “Change Paths in Sitemap XML” as a prerequisite, all image URLs in the sitemap now reference your custom paths instead of /wp-content/uploads/. Combined with the author removal, your sitemap reveals nothing about WordPress.
SEO is completely unaffected. Google processes the same XML structure, the same URLs, the same content. The only things removed are visual formatting and plugin branding that Google never reads in the first place.
No. Google processes the XML data in your sitemap, not the author name or XSL stylesheet. These are purely cosmetic additions that serve no indexing purpose. Removing them has zero impact on how Google crawls or ranks your pages.
WP Ghost removes author names and styling from all major sitemap generators: Yoast SEO, Rank Math, All in One SEO, SEOPress, The SEO Framework, and WordPress’s built-in sitemap. It intercepts the sitemap output regardless of which plugin generates it.
The author/style removal feature works within WP Ghost’s sitemap processing pipeline. Enabling “Change Paths in Sitemap XML” activates that pipeline. Without it, WP Ghost doesn’t intercept the sitemap output, so the removal toggle has nothing to process. Think of it as the first toggle enabling the engine and the second one enabling a specific feature within it.
Yes. WooCommerce products, categories, and images in the sitemap are all processed by WP Ghost. Plugin author names and XSL styles are removed from all sitemap outputs, including WooCommerce product sitemaps. WP Ghost is fully compatible with WooCommerce.
No. WordPress generates the sitemap dynamically. WP Ghost filters the output at runtime before it reaches the browser. No files are created, edited, or deleted. Disabling the option instantly restores the original sitemap appearance with plugin branding and styling.
Complete your sitemap and feed security:
Replace the default wp_ database prefix with a random one to protect against SQL injection…
Change the WordPress uploads directory path with WP Ghost (rewrite rules, no files moved) or…
Configure WP Ghost with WP Rocket cache. Enable file optimization, Change Paths in Cache Files.…
https://youtu.be/6ylhojSi-_E In this video, we’ll explore why website security matters and what can happen if…
The security of your WordPress site depends on multiple factors, such as the strength of…
Step-by-step guides to connect WP Ghost 2FA with Google Authenticator, Authy, Microsoft Authenticator, or LastPass.…