Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 753 Bytes

README.md

File metadata and controls

38 lines (29 loc) · 753 Bytes

abe-sitemap

plugin to generate sitemap.xml

abe install abecms/abe-sitemap

config

 "sitemap": {
  	"domain": "http://localhost:8000/",
  	"sitemapName": "index_sitemap.xml",
  	"priorities": {
  	  "article": "0.5"
  	},
  	"folders": {
  	  "regex": "^\/([a-zA-z-]*?)\/",
  	  "sitemapName": "directory-sitemap-$1.xml"
  	}
  }

Mandatory config:

  • domain

Optional config:

  • sitemapName (change default sitemap.xml name)
  • priorities (key/value = template name/priority number)
  • folders (to split sitemap into multiple files)
    • regex (the regex to extract folder)
    • sitemapName (name with "$1" to replace with folder name for example)

Route to generate sitemap manually

go to /abe/plugin/abe-sitemap/generate