Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 28th Dec 2009, 04:31 PM   #1
Glenn Downer
War Room Member
 
gjd6599's Avatar
 
Join Date: 2007
Location: East Coast USA
Posts: 329
Thanks: 6
Thanked 14 Times in 11 Posts
Default
Need Robots.txt help
Share on: 
fb share twitter share gplus share more share

I have a bunch of affiliate sites. When google indexes my sites, it shows multiple pages, because it shows the main one, and then the same one with category. It also sometimes shows my affiliate sites, even though I use a link cloaker. It will also index my admin panel, and several other things I don't want indexed.

I never had robots files on my sites. They are all wordpress blogs. I came up with a file, and want an opinion before I put it on my sites.

Also is it best to put it in the public_html of the domain, or is the wordpress plugin for a robots.txt file just as good. I also noticed that in the sitemap plugin, you can click an option to have it built in the root directory, and then edit it.

Which way is best?

Here is the robots.txt file I am thinking of using. Thanks Glenn
User-agent: *
Disallow: /feeds/
Disallow: /feeds
Disallow: /auction.php
Disallow: /auctions.php
Disallow: /get.php
Disallow: /wp-content/
Disallow: /wp-content
Disallow: /wp-content/plugins/
Disallow: /wp-content/plugins
Disallow: /wp-content/cache
Disallow: /wp-content/themes
Disallow: /cgi-bin
Disallow: /wp-admin
Disallow: /wp-includes
Disallow: /trackback
Disallow: /comments
Disallow: */trackback
Disallow: /category/*/*
Disallow: */comments
Disallow: /*?*
Disallow: /*?
gjd6599 is offline  
Unread 28th Dec 2009, 06:56 PM   #2
VIP Warrior
War Room Member
 
Karen Blundell's Avatar
 
Join Date: 2008
Posts: 1,768
Thanks: 4,644
Thanked 1,335 Times in 894 Posts
Default
Re: Need Robots.txt help
Share on: 
fb share twitter share gplus share more share

your robots.txt file should be in your public_html directory of your domain

the sitemap plugin puts it in the correct location

---------------
Karen Blundell is offline  
Unread 28th Dec 2009, 10:50 PM   #3
Customer Tools
War Room Member
 
Join Date: 2009
Location: Texas
Posts: 101
Thanks: 5
Thanked 5 Times in 5 Posts
Default
Re: Need Robots.txt help
Share on: 
fb share twitter share gplus share more share

You can add a no index meta tag to the cloaked pages... VS messing up your website with a very restrictive robots.txt file.

samples:
<META NAME="ROBOTS" CONTENT="NOINDEX, FOLLOW">
<META NAME="ROBOTS" CONTENT="INDEX, NOFOLLOW">
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">

There are a few wp plugins that allow you to add custom meta tags
customertools is offline  
Closed Thread


Bookmarks

Tags
robotstxt


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 11:54 AM.