nobrainerweb/silverstripe-robots-noindex 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

nobrainerweb/silverstripe-robots-noindex

最新稳定版本:5.0.1

Composer 安装命令:

composer require nobrainerweb/silverstripe-robots-noindex

包简介

Show a warning in the CMS when site is set to noindex

README 文档

README

This module adds a robots metatag to discourage well-behaved search engine spiders from crawling and indexing your site.

Installation

Install via composer: composer require nobrainerweb/silverstripe-robots-noindex

Don't forget to run a dev/build?flush

The module will automatically add the tag when your site is in dev or test mode. It can also be activated regardless of the site mode with the addition of an environment variable called 'SEO_PREVENT_INDEXING' which can be set to true.

For example, if you are using a .env file, you would add the following line to enable the module:

SEO_PREVENT_INDEXING = true

A warning is shown in the CMS when the module is active and indexing is discouraged.

统计信息

  • 总下载量: 3.03k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2013-12-11