www vs non www URL Which is better for SEO ranking

0 855

Many users has confused between www vs non www URL, and this question has asked many times which URL pattern should prefer for better SEO ranking advantage . My article helps you to clear your confusion. First we need to know from where the confusion has start for www vs non www URL.

www vs non-www URL better for SEO ranking

This confusion has start when you add your website URL in to Google webmaster tools. It’s given the options to set your preferred domain (www or non www URL). So most of users got confused what to select mostly newbie.

Definitely there are some cons and pros for www VS non www URL and there solution too. Otherwise there is no any extra benefit. It is only your preference which you select. There are two type of impact one is for SEO and second for technical.

www vs non-www URL SEO ranking benefits

www vs non www URL

Which is better URL www vs non www for SEO ranking

If you are going to set up your new website, i will suggest you to use www in your URL on your website, www URL having some benefit or logical advantage over non www sites. When you are going to start SEO of your site, you optimize load time and speed of your website and you want your site response fast to your users. When we are jump to link building and directory submissions, some of directory will force you to add proper URL including www. Yes this is the logical point when you have to use unnecessary www for getting a back link to your website.

And when any user will click on generated back link a request will goes to your web server with the www and your server returns a non www URL. The solution for this you have to set canonical link tag in your head/header file. Means you are adding a server side 301 redirect in your website. That is why we suggest you to use www vs non www url on your site.

The second part of the difference between www vs non www url is technically more flexibility with DNS.  When you register any domain name it comes without www, and when you host it with www then www consider as your host name and serve all the content to public. If you are using your site with www host name that will help in file structuring of website.  It also has the ability to restrict cookies when you use multiple sub-domains.

Planning to change www to non-www URL for SEO

The non www URL referred as naked URLs, and naked domain would not have CNAME benefit. As above i already suggest you if you are building your website from scratch then use www in that. And if you already website and want to change it will directly impact on your current website rank and you have to pay attention more to do change canonical URL. You also have to spend more time to get your rank back.

Here is the htaccess code to change www to non www URL

RewriteCond %{HTTPS} off

RewriteCond %{HTTP_HOST} !^www.(.*)$ [NC]

RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

 

RewriteCond %{HTTPS} on

RewriteCond %{HTTP_HOST} !^www.(.*)$ [NC]

RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]

Conclusion:

www vs non www URLs is your preferred choice for the Google, there is no any benefits in terms of the Google ranking. But there are several technical benefits on www over non www URLs websites. If you know about any other difference and benefits let us know by comments.

If you find this article use full for you, please subscribe and share with others to help them.

Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.