Forum Moderators: phranque

Message Too Old, No Replies

Other domains we own showing up in search engines

         

rogerwhittaker1234

12:21 pm on Feb 22, 2010 (gmt 0)

10+ Year Member



We run our company website from a our company name .co.uk

Last year we bought our company name limited.co.uk, company name online.com, etc etc. About 8 domains in total.

For some reason the pages from our main site, say: red-widgets.html are cropping up in the search engine listings. Such as:

company name limited.co.uk/red-widgets.html
company name online.com/blue-widgets.html
company name ltd.com/red-widgets.html

Sometimes above the original company name.co.uk/red-widgets.html page!

I have no idea why this is happening, any advice would be welcome.

thanks

lammert

12:31 pm on Feb 22, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Are all the domain names pointing to the same website?
If so, do you use 301 redirects to convert the secondary domain names to your primary name or do you just point all names to the same IP address?

rogerwhittaker1234

1:20 pm on Feb 22, 2010 (gmt 0)

10+ Year Member




As far as im aware there arent any directs in place.

g1smd

2:21 pm on Feb 22, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



# setup
RewriteEngine On

# redirect all non-canonical hostname requests to canonical hostname
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^www\.example\.com$
RewriteRule (.*) http://www.example.com/$1 [R=301,L]

rogerwhittaker1234

4:03 pm on Feb 22, 2010 (gmt 0)

10+ Year Member




and where do i stick that code mate and what does it do?

phranque

4:05 pm on Feb 22, 2010 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



assuming from the examples given that he goes non-www:
RewriteEngine On
# redirect all non-canonical hostname requests to canonical hostname
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^example\.co\.uk$
RewriteRule (.*) http://example.co.uk/$1 [R=301,L]