You're browsing: KeithJamesLock.com » Make Money Online » Blog article: Prevent Certain Wordpress Folders From Being Crawled By Search Engines
Bookmark and Share

Prevent Certain WordPress Folders From Being Crawled By Search Engines

Sat, Apr 12, 2008

Make Money Online

It has been argued that the file structure of a WordPress blog could leave you open to possible duplicate content penalties. Your posts are viewable on multiple pages of your blog so it could appear to search engines that the data is duplicated and therefore come across as spammy. To avoid that, some bloggers have been creating a robots.txt file and disallowing certain folders from being crawled.

I learned from a post on JohnChow.com which folders to add to the robots.txt file to prevent the search engines from crawling. There has since been a guest post on JohnChow.com that suggests not doing it that way. The argument is that you will end up with less pages in the Google index. The guest post was written from a person who teaches SEO so she could definitely know better than John. Part of her method of avoiding the duplicate content penalty involved using summaries of posts rather than full text. Since I will be using full text for all of my posts I will be following John's method of disallowing certain folders. This is one area though that I will be revisiting at some point. But for now, here is what I do after setting up a new blog...

Create a new text file and call it robots.txt. Add the lines below and save it and upload it to the root of your web site. The folder paths below assume that your blog is installed in the root folder.

User-agent: *
Disallow: /go/
Disallow: /wp-admin/
Disallow: /wp-includes/
Disallow: /author/
Disallow: /page/
Disallow: /images/
Disallow: /category/
Disallow: /archives/
Disallow: /trackback/
Disallow: /feed/
Disallow: /*?*

You may not have all of the folders listed above. I created a "go" folder which contains PHP redirects as discussed in the previous post: PHP Redirects And Hiding Affiliate Links. When I investigate this topic further I will create a new post about it.

Related posts:

  1. Internet Marketing Search Engines
  2. phpBay Pro: The Extended Manual – Replacing WordPress Search
  3. Blog Series – From Setup To ? – Part 5 – Backing Up WordPress
  4. Quick WP 2.6 Upgrade Instructions For GoDaddy Users
  5. Blog Series – From Setup To ? – Part 3 – Steps Before Changing The Theme

Bookmark and Share

© Earn a living online in your pj's

Share this post:
http://keithjameslock.com/wp-content/plugins/sociofluid/images/digg_48.png http://keithjameslock.com/wp-content/plugins/sociofluid/images/reddit_48.png http://keithjameslock.com/wp-content/plugins/sociofluid/images/stumbleupon_48.png http://keithjameslock.com/wp-content/plugins/sociofluid/images/delicious_48.png http://keithjameslock.com/wp-content/plugins/sociofluid/images/technorati_48.png http://keithjameslock.com/wp-content/plugins/sociofluid/images/google_48.png http://keithjameslock.com/wp-content/plugins/sociofluid/images/myspace_48.png http://keithjameslock.com/wp-content/plugins/sociofluid/images/facebook_48.png http://keithjameslock.com/wp-content/plugins/sociofluid/images/yahoobuzz_48.png http://keithjameslock.com/wp-content/plugins/sociofluid/images/sphinn_48.png http://keithjameslock.com/wp-content/plugins/sociofluid/images/mixx_48.png

If you enjoyed this post, make sure you subscribe to my RSS feed!

 

Enter your first name and email address below to receive exclusive money making tips.
First Name:
Your Email:
Spam protection; double opt-in:
Using AWeber Autoresponder


N1WAY

Leave a Reply