| | #1 |
| Glenn Downer War Room Member Join Date: 2007 Location: East Coast USA
Posts: 329
Thanks: 6
Thanked 14 Times in 11 Posts
|
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: /*? |
| |
| | #2 |
| VIP Warrior War Room Member Join Date: 2008
Posts: 1,768
Thanks: 4,644
Thanked 1,335 Times in 894 Posts
|
your robots.txt file should be in your public_html directory of your domain the sitemap plugin puts it in the correct location |
| --------------- | |
| |
| | #3 |
| Customer Tools War Room Member Join Date: 2009 Location: Texas
Posts: 101
Thanks: 5
Thanked 5 Times in 5 Posts
|
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 |
| |
|
| Bookmarks |
| Tags |
| robotstxt |
| |