3
June
2005

Google Sitemaps for WordPress

WordPressGoogle now has a new (in beta) feature called Google Sitemaps to quote the folks at Google:

“Google Sitemaps is an experiment in web crawling. Using Sitemaps to inform and direct our crawlers, we hope to expand our coverage of the web and improve the time to inclusion in our index. By placing a Sitemap-formatted file on your webserver, you enable our crawlers to find out what pages are present and which have recently changed, and to crawl your site accordingly.”>

With my switch over to WordPress I wrote a page that will produce a sitemap using the data in WordPress.  It will create entries for posts, static page, categories, and feeds.

You can view the contents of my sitemap.php file which is stored in my WordPress directory.

You can see the Sitemap output here.

Update: Michael Nguyen has created some php code to generate wordpress Sitemaps dynamically which has been updated by Dean Sas to include categories in sitemaps also.

10 Comments