Disable WP Sitemaps

描述

This plugin prevents WordPress from adding its own sitemaps.

Also stops WordPress from adding a sitemap rule to the virtual robots.txt file.

👉 Uses only 1KB of code, so super lightweight, fast, and effective.

Features

  • Lightweight – only one line of code
  • Simple to use – activate and done
  • No settings to worry about
  • Easy peasy.

About WP Sitemaps

You can check your WP Sitemap located at /wp-sitemap.xml

Your sitemap should look similar to this.

For more information about WP Sitemaps:

Privacy

This plugin does not collect or store any user data. It does not set any cookies, and it does not connect to any third-party locations. Thus, this plugin does not affect user privacy in any way.

Disable WP Sitemaps is developed and maintained by Jeff Starr, 15-year WordPress developer and book author.

Support development

I develop and maintain this free plugin with love for the WordPress community. To show support, you can make a donation or purchase one of my books:

And/or purchase one of my premium WordPress plugins:

Links, tweets and likes also appreciated. Thank you! 🙂

安装

Installing the plugin

Activate like any other plugin and done. There are no settings, works automatically.

More info on installing WP plugins

Uninstalling

To uninstall/remove the plugin, visit the Plugins screen, deactivate and delete the plugin. This plugin makes no changes to the WP database.

常见问题

Why is this useful?

Because many sites add their own sitemaps via dedicated SEO plugins or custom code. So when WordPress adds its own sitemaps, there may be duplicate and/or conflicting sitemaps. Duplicate and conflicting sitemaps are discouraged as they may confuse the search engines. You don’t want to confuse the search engines, do you. Think SEO here.

So you have a choice. To avoid duplicate/conflicting sitemaps, you can either remove your existing sitemap solution, or you can activate this plugin to disable WP’s automatically generated sitemaps.

Or maybe you have a site that does not need sitemaps. Or maybe you just don’t want sitemaps, that’s your business pal. Whatever the reason, this plugin will do the job with a click.

Got a question?

Send any questions or feedback via my contact form

评价

2024 年 10 月 7 日
Does exactly what it says on the tin, no bloat, no extraneous (and useless) features. It does one thing and it does that one thing perfectly. Love it.
2022 年 2 月 13 日
Always worry when something needs to be added to functions.php, because I know I’ll forget about it when a theme update rolls around. Thanks for this simple, and so useful, plugin! It just works. Cheers
阅读所有10条评价

贡献者及开发者

「Disable WP Sitemaps」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Disable WP Sitemaps」插件已被翻译至 8 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Disable WP Sitemaps」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

If you like Disable WP Sitemaps, please take a moment to give a 5-star rating. It helps to keep the plugin going strong, and is greatly appreciated.

1.8.7 (2026/01/29)

  • Improves readme.txt documentation
  • Tests on PHP 8.4 and 8.5
  • Tests on WordPress 6.9

Full changelog @ https://plugin-planet.com/wp/changelog/disable-wp-sitemaps.txt