🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Whitespace Fixer for XML Sitemap icon
Actively maintained Tested with WP 7.1 #13 in error

Whitespace Fixer for XML Sitemap

Fixes XML declaration errors in sitemaps and RSS by removing leading whitespace. Just activate, no setup required.

Active installs400+100+ tier
Downloads · 30d314▲ +3% vs prev. 30d
Rating5/53 reviews
Health score73/100Good
All-time downloads3.3KSince Aug 2025
Support resolved—No recent threads
RequiresWP 5.2PHP 7.2+
Downloads · 7d88▲ +37.5% week over week
Our verdict

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 & support

Daily downloads

183654Sep 6Oct 20Dec 4
Yesterday16
Daily average (1y)8
Peak day73Sep 21, 2026
Last 12 months2.9K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Whitespace Fixer for XML Si… stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
error #83 10,000 Best error plugins →
rss feed error #20 701 Best rss feed error plugins →
sitemap #31 2,069 Best sitemap plugins →
whitespace #1 596 Best whitespace plugins →
xml #33 3,364 Best xml plugins →

Version adoption

Share of active sites per release.

  • 1.180.9%
  • 1.019.1%

Rating breakdown

★★★★★★★★★★ 5 from 3 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Whitespace Fixer for XML Sitemap

From the official readme · v1.1.1

Description

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

  1. Upload the plugin to the /wp-content/plugins/ directory, or install it via the WordPress Plugin Installer.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. 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.

Full changelog on WordPress.org →

Screenshots

Browser error message without the plugin (before fix)
Browser error message without the plugin (before fix)
Browser error message without the plugin (before fix)
Browser error message without the plugin (before fix)
XML sitemap loads cleanly after plugin activation (no errors)
XML sitemap loads cleanly after plugin activation (no errors)

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.

Active installs badge Rating badge Health score badge

Best Whitespace Fixer for XML Site… alternatives

All error plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 WP Maximum Execution Time Exceeded WP Maximum Execution Time Exceeded Did you receive a message, "Maximum execution time of 30 seconds exceeded?" Not anymore… by Johnnie 20K+ ★★★★★★★★★★ 4.8 (9) 6 years ago 41
2 Link Juice Keeper Link Juice Keeper Improve your SEO and keep your link juice by automatically redirecting all 404 errors to… by George Pattichis 10K+ ★★★★★★★★★★ 4.7 (15) 3 months ago 74
3 WPS Bidouille WPS Bidouille WPS Bidouille provides information about your WordPress and contains optimization tools. by NicolasKulka 9K+ ★★★★★★★★★★ 4.9 (54) 4 months ago 79
4 Fatal Error Notify Fatal Error Notify Receive email notifications when errors occur on your WordPress site. by Jack Arturo 6K+ ★★★★★★★★★★ 4.8 (18) 10 months ago 55
5 Enable CORS Enable CORS Please read the plugin description before installing to ensure compatibility and avoid… by Dev Kabir 5K+ ★★★★★★★★★★ 3.7 (3) 1 month ago 75
6 HTTP 410 (Gone) responses HTTP 410 (Gone) responses Sends HTTP 410 (Gone) responses for deleted content, telling search engines the page is… by Matt Calvert 4K+ ★★★★★★★★★★ 4.6 (21) 4 months ago 61
7 BugSnag Error Monitoring plugin BugSnag Error Monitoring plugin Automatically detects errors & crashes on your WordPress site using BugSnag to notify you… by SmartBear 2K+ ★★★★★★★★★★ 3.7 (9) 7 months ago 50
8 404 to Home 404 to Home Redirect all 404 pages to homepage with very simple way. by burak 1K+ ★★★★★★★★★★ 5 (3) 10 years ago 34
9 404 Simple Redirect 404 Simple Redirect This plugin hooks the normal Wordpress workflow in order to determine if the request is… by JordiPlana 900+ ★★★★★★★★★★ 5 (3) 9 years ago 34
10 404 Notifier 404 Notifier Log 404 (file not found) errors on your site and get them delivered to you via e-mail or… by Crowd Favorite 600+ ★★★★★★★★★★ 3 (2) 4 years ago 28

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

↑↓ to move↵ to open