Forum Moderators: phranque

Message Too Old, No Replies

Advice Needed: How do I restrict SEs from Subdomains?

         

lindajames

3:59 pm on Apr 24, 2003 (gmt 0)

10+ Year Member



Hi there,

I have a website with many subdomains. However, Yahoo and all the other search engines seem to have links to my subdomains aswell.

I dont know how they get it. Im assuming they get it from my main domain that links to the subdomain.

I only want yahoo and all the other search engines to list my index.html file thats on my main domain, not on my subdomains.

Can anyone advise me on how i can prevent all pages from being listed other than particuar index pages.

I appreciate anyones help

Cheers
Linda

Oaf357

10:24 pm on Apr 25, 2003 (gmt 0)

10+ Year Member



robot.txt file and a noindex META tag would solve all your problems.

It will take some time though for the SEs to filter out everything.

jdMorgan

1:28 am on Apr 28, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



lindajames,

If you're hosted on Apache and have mod_rewrite, you have several more choices:

First, you can redirect all requests for your subdomains to your main domain.

Second you can redirect only robots to your main domain.

Third, you can set up several robots.txt, and redirect to them depending on the requested subdomain.

If you're on IIS, let us know, and maybe someone else can offer similar possibilities.

HTH,
Jim