w. ww. www. urls working

LianneF

Free Member
Jul 18, 2007
798
53
Oxford, UK
Hi
When i type in w.domain.com and ww.domain.com and www.domain.com they all work for my site, obviously the 'domain' is just an example of what my site is. Anyway i'm assuming something is wrong as when i tried this for other sites it doesn't work. I have contacted the hosting company as we recently moved hosts but not sure if it's something to do with them or not. Had problems with sitemaps and am still waiting for google to scan the site to re-index pages and update from the error message which is currently appearing in search results at the moment. Am i worrying over nothing?
Thanks
Lianne
 
They have just pointed all domains to your main page in case someone mistypes the URL... I personally wouldn't worry about it, and it shouldn't cause any errors in the Search Engines that I know of...
 
Upvote 0
If you would like the search engines to only see one version (which is best practice) you could use something like

RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain\.co.uk [NC]
RewriteRule (.*) http://www.domain.co.uk/$1 [L,R=301]

In a .htaccess file which will redirect via 301 and tell google, ask etc the proper address.
 
Upvote 0
Thanks to everyone who replied, i've just changed hosts so forgot to upload the .htaccess file so it was the same before i moved.
 
Upvote 0

Latest Articles