sitemap
sitemap 1.0.8
excludeTemplates can now also be specified as a template ID instead of template name. Useful if you change the names of your templates frequently.
e.g. &excludeTemplates=`myTemplateName,3,4`
Description
Outpust a machine readable site map for search engines and robots. Supports the following formats:- Sitemap Protocol used by Google Sitemaps.
- List of URLs in text format (e.g. Yahoo! submission).
Another option is to output an unordered list (HTML: UL/LI) to show the sitemap on your webpage.
Instructions
Documentation is available in MODx wiki article SiteMap: Google sitemaps in MODx.Previous Releases
sitemap 1.0.7
Unpublished and deleted documents were showing up in the sitemap. Even though they could not be viewed, they were showing up as broken links to search engines.
sitemap 1.0.6
Add optional parameter (excludeWeblinks) to exclude weblinks from the sitemap, since they often point to external sites (which don't belong on your sitemap), or redirecting to other internal pages (which are already
in the sitemap). Google Webmaster Tools generates warnings for excessive redirects.
Default is false - e.g. default behaviour remains unchanged.
sitemap 1.0.5
Added modification about non searchable documents, as suggested by forum user JayBee (http://modxcms.com/forums/index.php/topic,5754.msg99895.html#msg99895)
sitemap 1.0.4
I took the liberty to create a version 1.0.4 of this snippet.
What I added was a display option called 'ulli'. This creates the
sitemap as an Unordered list (<ul><li> structure) containing
links to the document and the pagename as the text of the link.
sitemap 1.0.3
- Added ability to specify the XSL URL - you don't always need one and it seems to create a lot of support confusion! It is now a parameter (&xsl=``) which can take either an alias or a doc ID
- Modifications suggested by forum users Grad and Picachu incorporated
(http://modxcms.com/forums/index.php/topic,5754.60.html)
Extras
No results found.