Giter Site home page Giter Site logo

friends-of-sunlight-cms / sitemap-plugin Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 19 KB

The Sitemap plugin makes it easier for you to create a sitemap for your website.

License: MIT License

PHP 59.22% XSLT 40.78%
sunlight-cms sunlight-cms-8 sunlight-cms-plugin sunlightcms

sitemap-plugin's Introduction

Sitemap plugin

The Sitemap plugin makes it easier for you to create a sitemap for your website.

  • SunLight CMS 8
Copy the folder 'plugins' and its contents to the root directory

or

Installation via administration: 'Administration > Plugins > Upload new plugins'

Don't forget to add the path to the file at the end of the robots.txt file (in the site root), which must be in absolute form.

Sitemap: https://mydomain.tld/sitemap.xml

Files can be generated manually in the content management, but by default sitemap files are generated automatically.

The following actions trigger the regeneration:
  • creating an article
  • edit article settings (slug, public, visible, confirm, home category)
  • deleting an article
  • creating a page
  • editing page settings (slug, public, visible, level, parent page)
  • deleting a page

sitemap.items - event allows to modify page data before generating files and also to add custom addresses (ex: for API)

sitemap.defaults - event allows to modify values for individual page types (changeFreq and priority)

sitemap-plugin's People

Contributors

jdanek avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.