How can I redirect www to non www site?

Is it better to 301 redirect www. to non www or vice versa?

  • I am trying to choose one over the other. Non www would be shorter but does that make it the better choice?

  • Answer:

    In and of itself, there is no difference in SEO value if you pick one or the other. Having that dynamic redirect in place (for one version or the other) is very important for duplicate content, though. One thing to keep in mind is that a 301 doesn't pass 100% of a link's juice. Try to pick whichever www version that your users are going to use when linking to your website so that you're not losing any more than you need to. If everyone links to you using http://www.yoursite.com and you redirect to the non-www every time, that's no good. I find that people tend to link to the hundreds of websites that I've worked on using the www version much more commonly than the non-www. For that reason, I recommend redirecting all non-www URLs to the www equivalent.

Mike Arnesen at Quora Visit the source

Was this solution helpful to you?

Other answers

I vouch for everything said, and I'll add one tip: one great way to figure out whether your naked subdomain (e.g. http://yourdomain.com) or www subdomain (e.g. http://www.yourdomain.com) is stronger is to use http://www.opensiteexplorer.org's comparative analysis tool. Here's an example comparing http://google.com to http://www.google.com: http://www.opensiteexplorer.org/comparisons?site=www.google.com&comparisons%5B0%5D=google.com Here's a screenshot of the subdomain section of the tool, which is where you'll want to focus. The section of your site with the green check marks? That's the subdomain with stronger link metrics, which is probably the section you'll want to keep as the primary subdomain.

Kane Jamison

Go to your Google Webmaster Tools account and see which receives the greatest volume of visitors. Then redirect the smaller to the larger. I'm surprised no-one mentioned this to be honest?

Dave Collins

I don't remember hearing anything suggesting that one is better than the other. It's just important that you do this to avoid duplicate content. When I am canonicalizing the existing domain of a client's, I figure out which one Google has built a preference for (do a site: command) and pick that one.

Sam Turri

It’s necessary to configure 301 redirect because if you don’t choose www or non-www than search engines will confuse and index both and can creates duplicate issues for your website. So, you need to configure it and it is necessary for SEO practice. You can find all of the answer regarding this issue. http://smallseotoolz.com/blog/how-to-setup-301-redirect

Ahmed Shahzad

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.