Hi,

I have a root domain on my server which contains all the directories of clients and personal websites, but all these sites are indexed in Google with not only thier given domain e.g. site.com but also rootdomain.com/site.com and I do not want this, all I want is the actual given domain to be indexed without the rootdomain, can I ask how this would be accomplished with a robots.txt file without un-indexing the given domains, just the root domin?

Thank you very much,

Daniel

Recommended Answers

google webmaster tools
index preferences

Jump to Post

All 3 Replies

google webmaster tools
index preferences

Hi almostbob,

Thanks for the swift reply, however, I have verified the domain in my webmaster account and cannot see anything to do with "index preferences".

Cheers,

Daniel

Hi,
Try make 301 redirect, from rootdomain.com/site.com to site.com
See on the net about 301 redirect.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.