Forum Moderators: phranque

Message Too Old, No Replies

Please help with addon domain

         

sren

9:41 am on Sep 1, 2006 (gmt 0)

10+ Year Member



I have a shared account and just added my second website.
Now I have a 301 redirection from new-web.com to www.new-web.com. Is the only Rewritte rule I have.
But I see that my site is accesible trough new-web.oldweb.com, and also from WWW.new-web.oldweb.com.
As a subdomain of the main domain.

I apologize if this is a silly question.
Do I have duplicated sites at search engines eyes?
Should I leave it like this, or should I include some other rewrite rules?

I would really apreciate any hint.
Thanks.

Quadrille

10:12 am on Sep 1, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The domains you describe should not exist, should they?

Therefore, the 301 is wrong, or you have another host problem. Much better to fix it now, rather than wait until the 'wrong' urls get ranked, and you lose all when you get around to fixing it later.

Check your 301, test your 301 - and talk to your support.

sren

10:28 am on Sep 1, 2006 (gmt 0)

10+ Year Member



I think you're right Quadrille!
I just removed my .htacces and there's no subdomains at all.

This is what I was using:

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^mysite\.com [NC]
RewriteRule (.*) [mysite.com...] [R=301,L]

I just want to redirect my sites with no www to my sites with www.

That code was working but it seems to have a side effect.
Anyone knows how can I make the redirection the right way?

Thanks a lot.

sren

10:58 am on Sep 1, 2006 (gmt 0)

10+ Year Member



Update.

The site is accessible thru new-site-foldername.oldsite.com
Can't believe it.