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:
Hosted on siteground.com
Indexed by Google with a PR5
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..

Recommended Answers

All 2 Replies

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]

You should use with www and use 301 as google also recomend 301.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.