Www to non-www redirect without loop still necessary?
-
Hi Guys,
My question is: Is it still necessary to redirect www. to non www. version of your website or other way around?
I ask because I feel that Google should be able to read these as the same by now.Thank you in advance.
Gabe -
Yes, adding both www and non-www to Google Search Console is absolutely best practice to ensure you aren't presenting duplicate content.
It's also the first recommended step in your check list after you've verified your property within GSC (which suggests it's pretty important).
Here's what Google say about this:
You may need to verify ownership of both the www and non-www versions of your domain. Because setting a preferred domain impacts both crawling and indexing, we need to ensure that you own both versions. Typically, both versions point to the same physical location, but this is not always the case. Generally, once you have verified one version of the domain, we can easily verify the other using the original verification method. However, if you've removed the file, meta tag, or DNS record, you'll need to repeat the verification steps.
Note: Once you've set your preferred domain, you may want to use a 301 redirect to redirect traffic from your non-preferred domain, so that other search engines and visitors know which version you prefer.
I hope that helps.
-
This is not a scientific answer and I am sure somebody can give you a more detailed answer, but anecdotally I still do it on all my websites as a best practice. I can't say I have noted a huge benefit, but it also does not hurt and helps normalize things.
I hope this helps.
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
-
Redirect domain without losing SEO benefit,
Now my website need to change to new domain, Since we start this website we have the landing page for sale and blog. So I need to redirect both a.com to b.com and a.com/blog/ to b.com/blog/ and I need to do by these step to keeping the benefit of SEO. For a.com Preparing the new site by duplicate the information of old site. (Get them no-index, no-follow) Export all URL to excel files by Xenu then look up together for re-check the information are they the same or not, I think we can check that if we used the same title. Redirect together by 301 codes. Get google bot know by submission to Google Webmaster Tools (Google Search Console) For a.com/blog/ Since we used wordpress to be our blog CMS, So we need to install wordpress CMS to b.com/blog/, Then backup SQL from PHP C Panel & files. Re-upload that SQL database & files to new server. Export all URL contain /blog/ then look up together by excel again. Redirect by 301 codes. So for this method what am i wrong or need to change please suggestion me. According to this is the technical SEO stuff that I never done before. After we redirect the old domain to new domain how much time Google will take for checking and give the benefit for us with the same benefit. And what we have to do for Moz.org to checking our issues & ranking. Plus - what can we do for no-index, no-follow page that belong to a.com because my website also doing these page as well for each marketing campaign to avoid Google to index.
Technical SEO | | ASKHANUMANTHAILAND0 -
Non Moving #1 Website
Hi Guys, Bit of an odd one we have recently undertaken our SEO in house (6-7 Months) and since doing this have had some great results, we have identified our competitors utilising Ahrefs, Moz and other tools that we have selected. However we have come up against something that we really cannot work out. One of our competitors ranks for everything related to there term on their website and industry at position #1 They are not actively doing SEO, Poor backlink structure from the research that we have carried out No fresh content being generate I was wondering if someone would perhaps mind spending 5 mins having a quick look to see what you think as i can't think what we might have missed. Tim.
Technical SEO | | fordy0 -
301 redirect .htaccess
Hi guys I am working on some 301 redirects on an apache webserver and I'd like a bit of assistance in trying to get a specific type result: I want all addresses from domaina.com to be redirected to domainb.com in the same structure so domaina.com/folder/file will go to domainb.com/folder/file expect for 2 folders.
Technical SEO | | seobackbone
ie: DomainA.com --> DomainB.com
except domainA.com/folder1
and domainB.com/folder2 Can someone let me know how I can pull this off?0 -
301 redirect to new website
We are migrating to a new website that will be using entirely new URLs under the same domain as the old website. The old website is a custom PHP script and the new website uses Drupal. I know that I should use individual 301 redirects to the corresponding new pages. My question is just how to set up the hundreds of 301 redirects from the old website to the new one? Here is the process I've come up with. Please let me know if there is an easier and better way for this. Before actually changing to the new website: download an advanced report with all pages on this domain from OSE. Find corresponding pages on the new website Make the hundreds of 301 redirect lines in an .htaccess file with the following code: redirect 301 /oldurl.html http://domain.com/the-full-url Thanks in advance for your help!
Technical SEO | | qbeeker0 -
Delete 301 redirected pages from server after redirect is in place?
Should I remove the redirected old pages from my site after the redirects are in place? Google is hating the redirects and we have tanked. I did over 50 redirects this week, consolidating content and making one great page our of 3-10 pages with very little content per page. But the old pages are still visible to google's bot. Also, I have not put a rel canonical to itself on the new pages. Is that necessary? Thanks! Jean
Technical SEO | | JeanYates0 -
Redirecting website page to another
Hi there one of my old pages on my site is currently ranking for a phrases that I want to rank for on a new page I created. My old page from 1 year ago is ranking for 'Property Management Training' (it's a blog post dating 2011) I have cretaed a new main Page on my site and would like to rank for 'Property Management' as it's more relevant. What is the best suggestion to keep my ranking but have people go to my new page? 301 redirect old page to new page? Thanks,
Technical SEO | | daracreative1 -
New website, to www or not
I was just wondering if there are any advantages to using the www instead of just the domain name for seo. Can these be elaborated on?
Technical SEO | | simvegas1 -
Double 301 redirect
Hi together, due to some technical reasons I have redirect (301) an existing link two times. Example: www.mydomain.com/root/site.html > 301 > www.mydomain.com/site.html > 301 www.mydomain.com/site_new.html Is there anybody how has got some experience like doing a double redirect? What about link juice? Best regards Steffen
Technical SEO | | steffen_0