Www. or not?
-
Hi,
I am pretty new to SEO. I know I have made so many mistakes and I am trying to learn now here on SEOmoz. At this moment, I am trying to find the answer to a situation that puzzles me. Since English is not my native language, I will do my best to be clear. I hope that a seasoned SEO expert out there can help me with this.
I have a website (http://www.pokeronlineitalia.com) that in the very beginning I optimized for the URL http://www.pokeronlineitalia.com. I was even able to list this URL into the DMOZ directory. The problem is that after a while the web hosting company I use - I don't know why yet - decided to make my site available as http://pokeronlineitalia.com. This means that if a person types in http://www.pokeronlineitalia.com, she gets redirected to http://pokeronlineitalia.com (the traditional URL without the "www"). Since when I started the site I was even more clueless than I am now about SEO, I thought that that would not make any difference. Even the guy at the web hosting company told me that that would be ok in terms of SEO. I thought that that was the case and closed an eye. The fact is that now I am using several tools to measure the strength of my site in the eyes of the search engines and noticed that http://www.pokeronlineitalia.com seems stronger. Using a the tool I cannot mention, I compared the two URL and found out this:
The total number of unique domains with backlinks pointing to a specific page is:
137 for the site WITHOUT the "www" and 2,210 for the site WITH the "www"
The total number of links pointing to a specific URL is:
864 for the site WITHOUT the "www"; and 61,871 for the site WITH the "www"
The number of domain backlinks is:
66,928 for the site WITHOUT the "www"; and 61,892 for the site WITH the "www"
Moreover, as I have said, http://www.pokeronlineitalia.com is listed in DMOZ while the site without the "www" is not.
My questions are the following:
Is the site WITH the "www" in the URL stronger than the site WITHOUT the "www"? If so, can the guys at the web hosting company fix the issue and make sure that a person can go straight to http://www.pokeronlineitalia.com without being redirected to the site without the "www"? Finally, if the issue gets fixed, will the site with the "www" be indexed normally by the search engines? I have noticed that pages in the site with the "www" do not get indexed. Is it bad in the eyes of the search engines to go back to http://www.pokeronlineitalia.com? What would you do?
I would really appreciate the opinion of an expert on this issue. Thank you for reading such incredibly long question.
All the best,
- Mark
-
Thank you again.
I let the guys at the web hosting company do the redirect.
All the best.
-
no. not robots.txt
Your site is on apache, you need to do your redirects in your .htaccess file
-
Hi Alan,
Can you please tell me if I need to do the redirect in file "robots.txt"? Do you know the 301 code to edit?
Thank you.
-
Hi,
Thank you for explaining the situation. I will contact my web hosting company and will ask them to make the change.
Best regards.
-
Hi,
Thank you for the reply. I appreciate it.
All best.
-
www version is not stronger in the first place, but when the two versions exist, it creates duplicate content and one of them finally become stronger because Google chose it as the canonical one.
Now you have to make 301 redirections, and I suggest you to redirect to the www version because in your case this is the strongest one and because www version is generally preferred for communication purpose.
Hope it helps )
-
I myself like to use the non www, but in your case you are right your www version is stronger.
What is happening at the moment is that the links pointing to the www version are still giving your site credit, but when the are 301 redirected they lose a bit of link juice between 5 to 15%. That is not much but seeing how many links you have that adds up to a lot.
All you need to do is 301 redirect the other way to the www. This will confuse the search engines for a few weeks but will sort itself out.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Is it possible to direct HTTP www 301 to HTTPS non www?
I have a question that has been stumping me and if someone could help I would gladly buy your coffee for a month. I have a website that used to be www and http a year or two ago. Now it is https and non www. A lot of my older links point to the www and http version of my site. This results in two 301 redirects. I.e. A link on another site to my site points to http://www.mysite.com The network waterfall shows: http://www.mysite.com 301 -> http://mysite.com http://mysite.com 301 -> https://mysite.com https://mysite.com (finally) **2 part question. ** **--Do you think that this two 301 redirect hop would affect SEO performance? I can see it did affect page authority through Moz. ** --Is there away around this? I.e. to redirect http:// AND http://www directly to https:// with no hops in between. Thank you!
Intermediate & Advanced SEO | | Stodzy0 -
Change domain.com to www.domain.com - influence on linkbuilding, seo, etc.
Hello, Do you know what can happen when i change domain.com to www.domain.com? Will it have an influence to my link-building portfolio (external links to domain.com), position on google search, etc. Thank you for help.
Intermediate & Advanced SEO | | Reyzer0 -
6 .htaccess Rewrites: Remove index.html, Remove .html, Force non-www, Force Trailing Slash
i've to give some information about my website Environment 1. i have static webpage in the root. 2. Wordpress installed in sub-dictionary www.domain.com/blog/ 3. I have two .htaccess , one in the root and one in the wordpress
Intermediate & Advanced SEO | | NeatIT
folder. i want to www to non on all URLs Remove index.html from url Remove all .html extension / Re-direct 301 to url
without .html extension Add trailing slash to the static webpages / Re-direct 301 from non-trailing slash Force trailing slash to the Wordpress Webpages / Re-direct 301 from non-trailing slash Some examples domain.tld/index.html >> domain.tld/ domain.tld/file.html >> domain.tld/file/ domain.tld/file.html/ >> domain.tld/file/ domain.tld/wordpress/post-name >> domain.tld/wordpress/post-name/ My code in ROOT htaccess is <ifmodule mod_rewrite.c="">Options +FollowSymLinks -MultiViews RewriteEngine On
RewriteBase / #removing trailing slash
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ $1 [R=301,L] #www to non
RewriteCond %{HTTP_HOST} ^www.(([a-z0-9_]+.)?domain.com)$ [NC]
RewriteRule .? http://%1%{REQUEST_URI} [R=301,L] #html
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^.]+)$ $1.html [NC,L] #index redirect
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index.html\ HTTP/
RewriteRule ^index.html$ http://domain.com/ [R=301,L]
RewriteCond %{THE_REQUEST} .html
RewriteRule ^(.*).html$ /$1 [R=301,L]</ifmodule> The above code do 1. redirect www to non-www
2. Remove trailing slash at the end (if exists)
3. Remove index.html
4. Remove all .html
5. Redirect 301 to filename but doesn't add trailing slash at the end0 -
Something happened within the last 2 weeks on our WordPress-hosted site that created "duplicates" by counting www.company.com/example and company.com/example (without the 'www.') as separate pages. Any idea what could have happened, and how to fix it?
Our website is running through WordPress. We've been running Moz for over a month now. Only recently, within the past 2 weeks, have we been alerted to over 100 duplicate pages. It appears something happened that created a duplicate of every single page on our site; "www.company.com/example" and "company.com/example." Again, according to our MOZ, this is a recent issue. I'm almost certain that prior to a couple of weeks ago, there existed both forms of the URL that directed to the same page without be counting as a duplicate. Thanks for you help!
Intermediate & Advanced SEO | | wzimmer0 -
If your site has used www for the last few years is it a good idea to direct to non www?
I had a website moved to wpengine lately and when the developer set it up on wpengine he used http://example.com/. For the last few years the site has been directing to http://www.example.com/ Should I redirect the site to http://www.example.com/ to avoid losing indexed pages and google rankings?
Intermediate & Advanced SEO | | webestate0 -
Any good link buying companies ( http://www.text-link-ads.com )
Hi guys I have been passed this website: http://www.text-link-ads.com Has anyone ever used text-links ads before?? Can anyone please show me the way and suggest any really good lin buying companies? I am really fiding it hard to find good places to place inbound links into our website.. Thanks Gareth
Intermediate & Advanced SEO | | GAZ090 -
I need help with setting the preferred domain; www. or not??
Hi! I'm kinda new to the SEO game and struggling with this site I'm working on: http://www.moondoggieinc.com I set the preferred domain to www. in GWT but I'm not seeing it reroute to that? I can't seem to get any of my internal pages to rank, and I was thinking it's possiblly b/c of a duplicate content issue cause by this problem. Any help or guidance on the right way to set preferred domain for this site and whiy I can't get my internal pages to rank? THANKS! KristyO
Intermediate & Advanced SEO | | KristyO0 -
301 or 302 - www.yoursite.com/uk/content
If your website CMS forces you to redirect from the homepage should it be a 301 or 302 Example includes www.direct.gov.uk which 302's it My view is that it should be a 302 in this instance and almost all others should be a 301 - the reason for this is that you want the www.direct.gov.uk to be the "primary" and one that is displayed in Google, whereas for anything else you want the URL of the location. Yes I know that ideally you don't have any redirection at all...
Intermediate & Advanced SEO | | AxonnMedia0