robots.txt wordpress seo

GreenDolla

Regular Member
Nov 13, 2009
260
75
i need a little help im using this as my permalinks /%category%/%postname%/ and plugin top level categories it takes out the category before the category name..now im trying to perfect all seo factors so i would like to dis allow all categories from being indexed so i don't have any dup content..but i don't know how to do it if i disallow the category would it not let my pages be indexed..can some one show me an example on how to do it..lets say my category is cars how would it look thanks
 
If you can edit the html of /cars/ for example add the following between the head tags:

Code:
[COLOR=#0000A0]<[/COLOR][COLOR=#B22222]meta[/COLOR] [COLOR=#FF0000]name[/COLOR][COLOR=#0000A0]=[/COLOR][COLOR=#0000FF]"robots"[/COLOR][COLOR=#FF0000] content[/COLOR][COLOR=#0000A0]=[/COLOR][COLOR=#0000FF]"noindex"[/COLOR][COLOR=#0000A0]>[/COLOR]

that will disallow robots from indexing /cars/ but should let them index for exaple /cars/whatever/

I hope it helps
 
socomm im so stupid platinum seo pack does this by default but i just wanted to use it in the robots.txt file instead, but im sticking with platinum seo pack for now thanks.
 
Hello,

A robots.txt file can create a vast impact on your WordPress blogs traffic and search engine rank. This is an SEO optimized WordPress robots.txt file. Remember that if you mess up the robots.txt file by overcrowding too much, you could misplace all of your rank.
 
Thats a bit tricky as you woud have to stipulate all categories in your robots file:

Disallow
/cat
/cat2

etc.
 
Back
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features and essential functions on BlackHatWorld and other forums. These functions are unrelated to ads, such as internal links and images. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock