Skip to content
No description, website, or topics provided.
PHP Scheme CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
code added namespace for DB class Feb 3, 2018
css
images Add all files Jun 16, 2016
templates
README.md Fix typo Jun 16, 2016
_config.php upgrade to ss4, removed caching as ss4 cache is handled differently Feb 3, 2018
composer.json fixing install path for composer Feb 3, 2018

README.md

Description

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

Installation

  1. Install module
  2. Run /dev/build?flush=1
  3. Pages can be excluded from sitemap using the checkbox in the Settings CMS tab (under Visibility)
You can’t perform that action at this time.