Setting a Preferred Domain and sitewide .htaccess ReDirect
As I'm sure most of you know, if you don't set up a 'preferred domain' in Google Webmaster tools for when people search your site, you could end up splitting your backlinks between the 2 version of your website namely 'www' and 'non-www'
In other words, for those who may not fully know what I am talking about, your website COULD be viewed upon as actually being 2 different websites.
Here Is My Question for those of you who are familiar with this optimization method,
I have set up my 'preffered domain' in Web Master Tools.
I have also set up a 'site wide redirect' (or so I believe I have) in my .htaccess file
In other words, when people search typing 'example.com' that should re-direct to 'www.example.com'
Or when people search using 'example.com/examplepage.html' it should re-direct to 'www.example.com/examplepage.html'
My findings:
It appears to redirect when I leave off the 'www' to my preffered domain. I assume this is correct. I also assume my .htaccess re-direct code is correct.
However - Here is where I am confused:
When i do a site:IANA — Example domains in Google, I get a list of various pages with my preffered domain and some pages that are NOT my preferred domain.
When I do site:IANA — Example domains in Google, I get basically the same list of pages (maybe a few more or less results)
Is this the way it should be? Does this seem like the re-direct and preffered domain are set correctly?
**The reason I am confused is I have other websites that in which a 'preferred domain' was set and when I use the site:example2.com or site:example2.com results ONLY SHOW for example site:example2.com but NOT for site:example2.com
Any ideas what is happening? I really need to be sure that all my links are going to one specific or 'preffered domain'
Can anyone shed some light just to clear this up for me so I know 100% that it is set correctly?
My .htaccess code is a slight bit different looking than all the other .htaccess redirect code I have found online- I can post if requested...
Thanks in advance for your thoughts..
This blog is awesome: http://www.robkonrad.com/blog. Read it.
================================================== ===
Shopify 14 Day Trial
SHOPIFY TRAINING Made Easy
Shopify 14 Day Trial
SHOPIFY TRAINING Made Easy