Title: Prevent Indexing on Non-Live Sites
Author: Steve North
Published: <strong>28 Tháng 11, 2023</strong>
Last modified: 6 Tháng 10, 2025

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://s.w.org/plugins/geopattern-icon/staging-prevent-indexing.svg)

# Prevent Indexing on Non-Live Sites

 Bởi [Steve North](https://profiles.wordpress.org/tex0gen/)

[Tải về](https://downloads.wordpress.org/plugin/staging-prevent-indexing.1.0.1.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/staging-prevent-indexing/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/staging-prevent-indexing/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/staging-prevent-indexing/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/staging-prevent-indexing/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/staging-prevent-indexing/)

## Mô tả

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](https://www.gnu.org/licenses/gpl-2.0.html)

## Cài đặt

 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.

## Hỏi đáp

### 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.

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“Prevent Indexing on Non-Live Sites” là mã nguồn mở. Những người sau đã đóng góp
vào plugin này.

Những người đóng góp

 *   [ Steve North ](https://profiles.wordpress.org/tex0gen/)

[Dịch “Prevent Indexing on Non-Live Sites” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/staging-prevent-indexing)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/staging-prevent-indexing/),
check out [SVN repository](https://plugins.svn.wordpress.org/staging-prevent-indexing/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/staging-prevent-indexing/)
qua [RSS](https://plugins.trac.wordpress.org/log/staging-prevent-indexing/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.0.1

 * Tested with latest version of WordPress.

#### 1.0

 * Initial release.

## Meta

 *  Phiên bản **1.0.1**
 *  Cập nhật lần cuối **1 năm trước**
 *  Số lượt cài đặt **10+**
 *  Phiên bản WordPress ** 4.6 hoặc cao hơn **
 *  Đã kiểm tra lên đến **6.8.12**
 *  Phiên bản PHP ** 7.1 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/staging-prevent-indexing/)
 * Thẻ
 * [development](https://vi.wordpress.org/plugins/tags/development/)[indexing](https://vi.wordpress.org/plugins/tags/indexing/)
   [prevent](https://vi.wordpress.org/plugins/tags/prevent/)[seo](https://vi.wordpress.org/plugins/tags/seo/)
   [staging](https://vi.wordpress.org/plugins/tags/staging/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/staging-prevent-indexing/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

[Your review](https://wordpress.org/support/plugin/staging-prevent-indexing/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/staging-prevent-indexing/reviews/)

## Những người đóng góp

 *   [ Steve North ](https://profiles.wordpress.org/tex0gen/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/staging-prevent-indexing/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://www.buymeacoffee.com/tex0gen)