Whitespace Fixer for XML Sitemap
Fixes XML declaration errors in sitemaps and RSS by removing leading whitespace. Just activate, no setup required.
Solid choice
Whitespace Fixer for XML Sitemap is a solid plugin choice in 2026, with a few things worth checking first. It runs on 400+ sites, is rated 5/5 and was last updated 3 months ago, and scores 73/100 on our health check.
- Tested with the latest WordPress (7.1)
- Small user base (400+ active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Whitespace Fixer for XML Si… stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| error | #83 |
| rss feed error | #20 |
| sitemap | #31 |
| whitespace | #1 |
| xml | #33 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 3 reviews
About Whitespace Fixer for XML Sitemap
From the official readme · v1.1.1Description
Whitespace Fixer for XML Sitemap is a lightweight plugin that automatically removes unwanted spaces or blank lines before the XML declaration (<?xml version="1.0" ... ?>) in your WordPress output.
This small whitespace, often caused by themes or plugins, breaks XML feeds and causes browser or validator errors like:
XML declaration allowed only at the start of the document
With this plugin activated, the output buffer is cleaned before anything is sent to the browser—ensuring your sitemaps and RSS feeds are valid and readable by search engines like Google.
✅ Works with:
– Rank Math
– Yoast SEO
– Other Seo Tools
– All themes and plugins
No settings page. No configuration. Just activate and forget.
Features
- Automatically removes leading whitespace from XML output
- Fixes “XML declaration not at start” errors
- Works with Rank Math, Yoast, and other sitemap plugins
- Compatible with any WordPress theme or hosting
- Runs silently in the background
License
Whitespace Fixer for XML Sitemap is licensed under the GNU General Public License v2 or later.
Installation
- Upload the plugin to the
/wp-content/plugins/directory, or install it via the WordPress Plugin Installer. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- That’s it! Your sitemaps and feeds will now be clean and error-free.
Changelog
1.1.1
- Fixed leading whitespace removal to target only the start of the document instead of every line.
- Improved content-type detection so only XML, HTML, and feed responses are processed.
- Fixed the plugin text domain to match the plugin slug for better translation support.
- Limited output buffering to sitemap and feed requests for improved performance.
- Enabled SSL verification for analytics requests and removed leftover debug logging.
- Cached the support popup check to reduce admin page load overhead.
1.1.0
- Added a new status page under Tools → XML Whitespace Fixer.
- Display plugin, WordPress, and PHP version information.
- Display XML sitemap URL for quick access.
1.0.5
- Added more security and optimized the plugin structure.
1.0.4
- Improved performance and update security.
1.0.3
- Tested up to WordPress 6.9 to ensure full compatibility.
- Updated internal hooks for better stability with the latest WordPress core changes.
1.0.2
- Improved performance by reducing unnecessary output buffering.
- Refactored core cleanup logic for cleaner and more reliable XML output.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Whitespace Fixer for XML Site… alternatives
All error plugins →FAQ
Whitespace Fixer for XML Sitemap: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Whitespace Fixer for XML Sitemap free?
Yes. Whitespace Fixer for XML Sitemap is free to download and use from the official WordPress.org plugin directory.
Is Whitespace Fixer for XML Sitemap safe to use in 2026?
Whitespace Fixer for XML Sitemap is a solid plugin choice in 2026, with a few things worth checking first. It runs on 400+ sites, is rated 5/5 and was last updated 3 months ago, and scores 73/100 on our health check.
How many websites use Whitespace Fixer for XML Sitemap?
Whitespace Fixer for XML Sitemap is active on 400+ WordPress websites and has been downloaded 3,258 times since it launched in August 2025. It was downloaded 314 times in the last 30 days.
Does Whitespace Fixer for XML Sitemap work with WordPress 7.1?
Yes. The developer has tested Whitespace Fixer for XML Sitemap up to WordPress 7.1.5, the latest release. It requires WordPress 5.2 or newer.
What PHP version does Whitespace Fixer for XML Sitemap need?
Whitespace Fixer for XML Sitemap requires PHP 7.2 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Whitespace Fixer for XML Sitemap last updated?
The latest version, 1.1.1, was released on September 20, 2026 (3 months ago).
Who makes Whitespace Fixer for XML Sitemap?
Whitespace Fixer for XML Sitemap is developed and maintained by Turbo Addons.
What are the best alternatives to Whitespace Fixer for XML Sitemap?
The most popular alternatives to Whitespace Fixer for XML Sitemap are WP Maximum Execution Time E… (20K+ installs), Link Juice Keeper (10K+ installs) and WPS Bidouille (9K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card



