Linux 软件免费装
Banner图

Whitespace Fixer for XML Sitemap

开发者 TurboAddons
wpanik
sharifok
rabiulalam01833
siraji2017
更新时间 2025年10月20日 14:02
PHP版本: 7.2 及以上
WordPress版本: 6.8
版权: GPL2+
版权网址: 版权信息

标签

error xml sitemap whitespace rss feed error

下载

1.0.1 1.0.2 1.0.0

详情介绍:

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. https://youtu.be/CvXXCGxMTqk?feature=shared 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: No settings page. No configuration. Just activate and forget.

安装:

  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.

屏幕截图:

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

常见问题:

Does this plugin modify any content or database?

No. It only buffers and cleans output whitespace before it reaches the browser. It doesn’t store or alter data.

Will this conflict with my SEO plugin?

Not at all. It is compatible with Rank Math, Yoast SEO, All in One SEO, SEOPress, and others.

What if I still see the error after activation?

Ensure no theme or plugin is sending output (like echo, var_dump(), or spaces) before the plugin loads. Also, clear any caching and test again.

Does it have any settings page?

No. It's designed to be automatic. Activate and you’re done.

更新日志:

1.0.2 1.0.1 1.0.0 License Whitespace Fixer for XML Sitemap is licensed under the GNU General Public License v2 or later.