このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Prevent Indexing on Non-Live Sites

説明

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

インストール

  1. Download the plugin and extract the files.
  2. Upload the extracted folder to the /wp-content/plugins/ directory.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.
  4. Navigate to Settings -> Prevent Indexing to configure your live site URL.

FAQ

Will this plugin modify my content or themes?

No, the plugin only alters the “Search Engine Visibility” setting in WordPress.

What happens if I forget to set the live site URL?

The plugin will display an admin notice prompting you to set the live site URL. Until set, no actions are taken on search engine visibility.

Why is the live site URL encoded in the database?

The encoding is to prevent migration tools from inadvertently changing the URL during a search and replace operation, which is common when moving WordPress sites.

評価

このプラグインにはレビューがありません。

貢献者と開発者

Prevent Indexing on Non-Live Sites はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Prevent Indexing on Non-Live Sites” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.0

  • Initial release.