Welcome to WebmasterWorld Guest from 54.145.44.134

Forum Moderators: goodroi

Message Too Old, No Replies

robot.txt to remove an alias

Afraid of duplicated content

     

Ulkari

11:33 am on Jan 8, 2004 (gmt 0)

10+ Year Member



Hi,

My site's home page is www.site.com/widget/index.html.
I have a 301 redirect from www.site.com/brand to the real home page (this is the URL on my business card).

Now Google has indexed www.site.com/brand as well as www.site.com/widget/index.html, which is a bad thing.

How can I correct that? I was thinking of putting the following robots.txt:

User-agent: *
Disallow: /brand

Would that work?

Thanks!

closed

5:48 pm on Jan 8, 2004 (gmt 0)

10+ Year Member



I wouldn't put that line. Just make sure that you have the redirect set up correctly.

If you did add that line, robots wouldn't be able to "see" the redirect.