innocode-digital/wp-force-non-public
最新稳定版本:1.0.0
Composer 安装命令:
composer require innocode-digital/wp-force-non-public
包简介
Programmatically discourages search engines from indexing the site.
README 文档
README
Description
Programmatically discourages search engines from indexing the site.
Install
-
Preferable way is to use Composer:
composer require innocode-digital/wp-force-non-publicBy default, it will be installed as Must Use Plugin. It's possible to control with
extra.installer-pathsincomposer.json. -
Alternate way is to clone this repo to
wp-content/mu-plugins/orwp-content/plugins/:cd wp-content/plugins/ git clone git@github.com:innocode-digital/wp-force-non-public.git cd wp-force-non-public/ composer install
If plugin was installed as regular plugin then activate Force Non-Public from Plugins page
or WP-CLI: wp plugin activate wp-force-non-public.
Usage
To enable plugin it's required to add constant (usually to wp-config.php):
define( 'FORCE_NON_PUBLIC', true );
统计信息
- 总下载量: 8.45k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2021-11-09