承接 webvpf/wn-robots-plugin 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

webvpf/wn-robots-plugin

最新稳定版本:v1.0.2

Composer 安装命令:

composer require webvpf/wn-robots-plugin

包简介

Robots - plugin for Winter CMS. Adds robots.txt for your site.

README 文档

README

This plugin adds robots.txt file for your Winter CMS site.

A robots.txt file is used to manage crawler traffic to your site. It tells search engine crawlers which URLs the crawler can access on your site. This is used mainly to avoid overloading your site with requests.

Getting started

Use composer to install the plugin:

composer require webvpf/wn-robots-plugin

Editing robots.txt

In the backend of your application, go to settings and select Robots.txt. When filling out the rules, you can use Twig.

An example of filling robots.txt:

User-agent: *
Allow: /
Sitemap: {{ 'sitemap.xml'|app }}

or

Sitemap: {{ url('sitemap.xml') }}

As a result, robots.txt will look like this:

User-agent: *
Allow: /
Sitemap: https://example.com/sitemap.xml

Instructions for robots.txt

For detailed instructions on filling out the robots.txt file, see developers.google.com

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-07-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固