FORGEBOX Enterprise 🚀 - Take your ColdFusion (CFML) Development to Modern Times! Learn More...
This is an extension for PresideCMS that will create sitemap.xml
for all active pages
##Scheduled task
If using PresideCMS 10.6.x and below, Schedule Task Extension will need to be installed before XML Sitemap Extension will be able to run (ask about this in the PresideCMS slack channel!).
##.gitignore
The file, sitemap.xml
will be generated by the scheduled task in your webroot. You should add a .gitignore
rule to keep it out of your repository.
Install the extension to your application via either of the methods detailed below (Git submodule / CommandBox) and then enable the extension by opening up the Preside developer console and entering:
extension enable preside-ext-xml-sitemap
reload all
From the root of your application, type the following command:
git submodule add https://github.com/pixl8/preside-ext-xml-sitemap.git application/extensions/preside-ext-xml-sitemap
From the root of your application, type the following command:
box install pixl8/preside-ext-xml-sitemap#v1.1.0
There are two different ways to make your sitemap available to Google:
OR
Insert the following line anywhere in your robots.txt file, specifying the path to your sitemap:
Sitemap: http://mydomain.com/sitemap.xml
java.io.IOException
error can't write down object of type [struct] to resource
- always ensure the outut is a string / simple valueHere are all the versions for this package. Please note that you can leverage CommandBox package versioning to install any package you like. Please refer to our managing package version guide for more information.