plugin-icon

Prevent Indexing on Non-Live Sites

作者:Steve North·
Prevent your WordPress website from being indexed by search engines when it's not on the live site.
版本
1.0.1
最后更新
Oct 6, 2025

This WordPress plugin ensures that search engine indexing is automatically turned OFF if the site’s URL doesn’t match the provided live site URL. It’s especially useful for development and staging environments, where you might not want content to be indexed by search engines.

Features: – Automatically turns off search engine indexing for non-live sites. – Provides an admin settings page to specify the live site URL. – Displays an admin notice if indexing has been turned off due to URL mismatch. – Encodes the live site URL to prevent inadvertent changes when using migration tools. – Admin notice prompts for setting the live site URL if it hasn’t been configured yet.

Usage

  1. After activating the plugin, go to the admin dashboard.
  2. Navigate to Settings -> Prevent Indexing.
  3. Enter your live site URL in the provided input field and save.
  4. If the current site’s URL doesn’t match the provided live site URL, search engine indexing will be turned off, and an admin notice will inform you of the same.

License

GPLv2 or later

免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.8.3
这个插件是可用的下载,适用于您的站点。