0

Hi there,
In the past I have changed hosts many times because of problems, as we all know all hosting companies are not perfect!
This is my problem:
A.
http://xuzo.com
Hosted on siteground.com
Indexed by Google with a PR5
B.
http://www.xuzo.com
Hosted on hostgator.com
Indexed by Google with a PR6
2 sites that look the same and are or might be, I know that Hostgator redirected http://xuzo.com to http://www.xuzo.com
What should I do?
If I set it up so that http://xuzo.com had completely different content than http://www.xuzo.com, would they be seen as 2 different websites, 2 different URL's?
http://www.xuzo.com is the original version, should I delete http://xuzo.com completely?
I don't really feel like throwing away a PR5 property..
Cheers!

3
Contributors
2
Replies
3
Views
10 Years
Discussion Span
Last Post by letsjoy
0

Google sees your website with the 'www' (http://www.example.com) as a different page the without (http://example.com). Pages that link to the page without the 'www' are hurting your pages with the 'www' as the PR is essentially being split between the two pages. Fortunately this is easy to fix. Use a 301 redirect to redirect Google, and everyone else, to the 'www' page from the non 'www' page. The code would look similar to this (mod_rewrite required):

Options +FollowSymlinks 
RewriteEngine On 
RewriteCond %{HTTP_HOST} !^(www\.|$) [NC] 
RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

To go from the 'www' to non 'www' use this code:

Options +FollowSymlinks 
RewriteEngine On 
RewriteCond %{HTTP_HOST}//s%{HTTPS} ^www\.(.*)//((s)on|s.*)$ [NC] 
RewriteRule ^ http%3://%1%{REQUEST_URI} [L,R=301]
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.