About XML Sitemap
Generates an XML sitemap at yoursite.com/sitemap.xml for use with Google Webmaster Tools etc.
|Category 1||Markup Generation|
Markup modules that are called upon to generate or parse markup (like HTML). Markup modules are most often used on the front-end of a site (rather than admin).
Modules designed to help site accessibility, standards compliance and SEO.
Should be safe for use in production environments. *
|Compatibility||2.1, 2.2, 2.3, 2.4|
|Date Added||July 25, 2012|
I missed the XML sitemap generator that I used in a previous CMS so I built my own module to achieve the same functionality.
This module outputs an XML sitemap of your site that is readable by Google Webmaster Tools etc. I've generally found that it reduces the time it takes for new sites and pages to be listed in search engines using one in combination with Webmaster Tools etc (since you're specifically telling the service that a new site/new pages exist) so thought I may as well create a module for it.
The module ignores any hidden pages and their children, assuming that since you don't want these to be visible on the site then you don't want them to be found via search engines either.
It also adds a field called sitemap_ignore that you can add to your templates and exclude specific pages on a per-page basis. Again, this assumes that you wish to ignore that page's children as well.
The sitemap is accessible at yoursite.com/sitemap.xml - the module checks to see whether this URL has been called and outputs the sitemap, then does a hard exit before PW gets a chance to output a 404 page. If there's a more elegant way of doing this I'll happily change the code to suit.
UPDATE: As of v1.0.4 it supports the LanguageLocalizedURL module thanks to Soma.
UPDATE: 1.0.5 fixed some bugs
UPDATE: 1.0.8 adds multisite support - thanks Teppo!
This module's files should be placed in /site/modules/MarkupSitemapXML/
How to install or uninstall modules
A module for ProcessWire that generates a sitemap.xml file for use with major search engines.
Your e-mail is kept confidential and not included with your comment. Website is optional.
- Admin Helpers
- Core Modules
- Development Tools
- Field Types
- File Validator
- Input Fields
- Language Modules
- Language Packs
- Markup Generation
- Premium Modules
- Process Modules
- Proof of Concept
- Site Profiles
- Social, Feeds, Services
- Text Formatters
- Other Modules
- Users and Access
*Use modules at your own risk. There are no guarantees or warranties. It is recommended that you backup your site and database before installing new modules.