承接 plasticstudio/sitemap 相关项目开发

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

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

plasticstudio/sitemap

最新稳定版本:4.0.0

Composer 安装命令:

composer require plasticstudio/sitemap

包简介

Sitemap generating module for SilverStripe

关键字:

README 文档

README

Adds ability to create both HTML and XML versions of a sitemap on silverstripe sites. BOth are based off the site tree, with the ability to elect (via a checkbox in the CMS) to exclude any page from the sitemaps. Default HTML and XML sitemaps are created by running dev/build after installing this module. Also generates an xml file (sitemap.xml) in root of site, updated on load of the xml sitemap in the sitetree.

Dependencies

  • SilverStripe 3.1+

Features

  • Adds HTML and XML versions of a sitemap based on sitetree
  • Exclude any page from sitemaps with CMS checkbox (on Settings tab)
  • Uses partial caching, refreshed when any page in the sitetree is updated
  • Creates/updates an actual sitemap.xml file in the root of the site on load of xml sitemap page
  • Adds the ability to prevent a single page or the entire site from being crawled and indexed by (well-behaved) bots

Installation

  1. Install module via composer composer require plasticstudio/sitemap
  2. Run /dev/build?flush=1
  3. Pages can be excluded from sitemap using the checkbox in the Settings CMS tab (under Visibility)
  4. Pages can be excluded from being crawled/indexed by bots in the Settings CMS tab (under Visibility)
  5. The entire site can be excluded from being crawled/indexed by bots in Site Settings (under the Indexing tab)
  6. The noindex tag piggy-backs off SiteTree's ExtraMeta attribute, so make sure your page head template includes the $ExtraMeta tag.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2016-10-30