Blogroll

photoshop cs6 html 5 css php seo backlinks

adsense

Friday, 28 February 2014

Redirect Non WWW To WWW

Simply put, http://www.hobo-web.co.uk/ can be treated by Google as a
different url than http://hobo-web.co.uk/ even though it’s the same page, and it
can get even more complicated.
It’s thought PageRank and Google Juice can be diluted if Google gets
confused about your URLS and speaking simply you don’t want this PR
diluted (in seo theory).
That’s why many, including myself, redirect non-www to www (or vice versa) if
the site is on a linux / apache server (in the htaccess file –
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^hobo-web.co.uk [NC]
RewriteRule ^(.*)$ http://www.hobo-web.co.uk/$1 [L,R=301]
Basically you are redirecting all the Google juice to one url.
Do you need to do this? Of course not. As standard these days, I
do however. It keeps it simple, when optimising for Google.
It should be noted, it’s incredibly important not to mix the two types of
www/non-www on site when linking your own internal pages!
Google can handle most sites no problem even without this measure being
taken, and it’s certainly no magic bullet implementing this canonicalization fix.
Note Google asks you which canonical version one to pick in Google
Webmaster Tools.

0 comments:

Post a Comment