Tuesday, June 07, 2005

WordPress Sitemap Generator for Google

WordPress Sitemap Generator for Google by Arne Brachhold

Arne has created this cool sitemap file for Google to index your webpage more efficiently.

Google announced yesterday a new tool for webmasters. The Google Sitemaps! You can submit you sitemap to Google and allow them to find all your pages without crawling every link. You can read more about this cool feature at searchenginewatch.com.

I created a small php file which will do the generation of the sitemap in a Google compliant format for you. At the moment, only posts, home page and static pages are supported. If you have better knowledge of WordPress than me, feel free to modify the script and include category pages etc.

Every URL in the sitemap may have a priority which represents the page priority on your website. My script calculates the it on the number of comments. This should be ok for most blogs, maybe i will add the post date to priority generation later.

Try it !

UPDATE 3:
Check the beta of the new version at Google Sitemap Generator v2 (BETA) which comes as a WordPress Plugin and a grahpical administration page!

0 Comments:

Post a Comment

<< Home