By using this service you agree to our User Terms and Privacy Policy. I agree

Filtering sitemapS URLs and Images

XmlSitemapGenerator allows you to use expression based filters to exclude urls and images from your sitemap. Simple filter examples include :

However XmlSitemapGenerator uses standard regular expressions to enable more complex rules to be formed.

The topic of regular expressions is long and detailed so we have provided some external links below as well as some simple examples that you may find useful.

The below external websites cover the subject in more detail :

Regular Expression Examples

Excludes any files in the "forms" folder.

Excludes any files that contain "_printable_" anywhere in the path.

Excludes any files that end with "_Old.html".
Notice that we put a slash before the dot because normally the dot means any character, but in this instance we want to "escape it" i.e. remove it's special meaning and just match it as a full stop.

Please help support us

We provide our services for free and operate on the goodwill of our community, but it has become increasingly difficult maintain and fund. We kindly ask that if the service was useful and saved you some time that you make a small contribution.

I'd like to help