View Single Post
  #1 (permalink)  
Old 18-11-04
Elaine's Avatar
Elaine Elaine is offline
Registered User
 
Join Date: Aug 2003
Location: Redcar Cleveland North of Leeds
Posts: 2,237
Thanks: 17
Thanked 17 Times in 12 Posts
Elaine seems to know their stuff
  robots.txt and engine rewrite - will both be followed?

I'm trying to stop Google indexing sites that it might construe as a duplicate - I have 'killed' off all the domains that pointed to my main site but there is one other site that is listed quite heavily in all the other search engines - and to save time on continually updating both I use the 'engine rewrite code in the .htaccess file on the second site to send everything to my first site.

so I have placed the robots.txt file

User-agent: *googlebot
Disallow: /

- created it in notepad and then used Aceftp to transfer it into the second site - and uploaded it.

will Google now read the robots.txt file first and ignore the site - or

will it read the htaccess file first and simply move onto my main site.

All I want is Google to only see the main site - will this work.
__________________
Elaine - Children's Rooms and Allkids
email: kev @ childrens-rooms.co.uk
01287 644544

Elaines-Space Blog - 2009 Network Requests
Well Behaved Women Rarely Make History
Reply With Quote
Sponsored Links