Sitemap generator configuration for Blogger

If you are using Google’s sitemap generator [code]]czoxNDpcInNpdGVtYXBfZ2VuLnB5XCI7e1smKiZdfQ==[[/code] to generate a sitemap of your Blogger blog , here are the configuration lines to add to the config.xml file:

<filter action="drop" type="wildcard"
    pattern="*.py" />
<filter action="drop" type="wildcard"
    pattern="*.txt" />
<filter action="drop" type="regexp"
    pattern="/google\w+\.html" />
<filter action="drop" type="regexp"
    pattern="/\d+/(\d+/)?$" />

<filter action="drop" type="regexp"
    pattern="/archive/$" />
<filter action="drop" type="regexp"
    pattern="/uploaded_files/$" />
<filter action="drop" type="regexp"
    pattern="/uploaded_images/$" />

In this way, void URLs will not be included in the sitemap.xml output.

If you're wondering "Why would I be running the sitemap generator on my blog?", it's because Googlebot does not handle well the posts where the time & date has been altered.

If you don't know what the sitemap generator is, see Google Sitemaps Help.

This entry was posted in Tips & Tricks and tagged , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>