What is a good robots.txt for WP ?

Posted by Steven on Pro Webmasters See other posts from Pro Webmasters or by Steven
Published on 2010-12-13T11:10:29Z Indexed on 2011/01/12 16:00 UTC
Read the original article Hit count: 250

Filed under:
|

What is the "best" setup for robots.txt?
I'm using the following permalink structure in Wordpress: /%category%/%postname%/.

My robots.txt currently looks like this (copied from somewhere a long time ago):

User-agent: *
Disallow: /cgi-bin
Disallow: /wp-admin
Disallow: /wp-includes
Disallow: /wp-content/plugins
Disallow: /wp-content/cache
Disallow: /wp-content/themes
Disallow: /trackback
Disallow: /comments
Disallow: /category/*/*
Disallow: */trackback
Disallow: */comments
  1. I want my comments to be indext. So I can remove this, right?
  2. Do I want to disallow indexing categories because of my permalinkstructure?
  3. An article can have several tags and be in multiple categories. This may cause duplicates in google. How should I work around this?

Would you change anything else here?

© Pro Webmasters or respective owner

Related posts about Wordpress

Related posts about robots.txt