Thursday, August 21, 2008

Wordpress and Google Webmaster Tools

My newest blog, which is a discussion of music related topics to accompany my album review site is run on WordPress's blogging software. All of my other blogs are hosted by Blogger, so this is a change for me. The biggest pitfall that I have encountered was with submitting my RSS feeds to Google's Webmaster tools in order to ensure that my new posts are added to their database in a timely manner.

Hopefully my experiences can save someone else from pulling their hair out. After submitting the posts feed and the comments feed, I received five errors for each: 1 "Invalid URL", 1 " Invalid XML: too many tags", and 3 "Invalid XML attribute" errors. Google's submission software does not support RSS 2, and, unfortunately, that is what the links at the bottom of WordPress generated blogs are (in the form of feed=rss2 and feed=feed=rss2). There is an extremely simple fix though.

I noticed that the links say rss2; there would be no need to explicitly state rss2 if they were not also creating an RSS 1 version. With this in mind, I just changed the links to feed=rss and feed=comments-rss and they miraculously worked. I did not see any documentation on this on either Google or WordPress's site; this has to be a common issue and I am surprised that no one has addressed this before.

No comments: