301 redirect to WWW on a 2 year old website with good SERPs and organic traffic?
-
Hi everyone,
Recently someone pointed out that my website can be accessed in both ways i.e. by typing www.example.com or example.com. He further added that Google might identify this as duplicate content and penalize my website. So now I'm thinking about 301 redirection from non WWW to WWW using htaccess method. But my website is 2 year old now and I'm getting some decent traffic from Google. Will this redirection have an adverse effect on my rankings? Is there any other way to resolve this issue? I don’t want to lose my current rankings or organic traffic. Any help would be very much appreciated.
P.S. Currently Google index my website pages with WWW.
-
/index.html should 301 redirect to the root domain (www.example.com/index.html and example.com/index.html should redirect to www.example.com)
For multilingual, you will need to set up hreflang for each language via tags or sitemap. Check out https://support.google.com/webmasters/answer/189077?hl=en for more info.
-
yes you do
-
Thank you for the reply. I will do this redirect ASAP!
-
Thank you Andy for your detailed answer. My site is also accessible from example.com/index.html Do I also need to include this URL in htacess file while writing the rules for 301 redirect?
-
Thank you for the quick reply. My site is also accessible from example.com/index.html Do I also need to include this URL in htacess file while writing the rules for 301 redirect?
I also have sub-domains like fr.example.com, de.example.com So do I also need to write septate 301 redirect rules/codes in their htaccess file?
-
"...duplicate content and penalize my website"
---> duplicate content is not penalized, it's often just deemed somewhat irrelevant as Google has seen the content before and has an 'older' or in some few cases, 'considerably stronger' version of the content in its Index...."about 301 redirection from non WWW to WWW using htaccess ..."
---> perfect solution (this is the correct thing to do), and if anything, your site will be stronger. While 301's do lose a teeny bit of link equity, any links to the non-www version of your site will now be making the www page that much stronger."I don’t want to lose my current rankings or organic traffic"
---> this is highly unlikely*you may want to set your webmaster tools setting to "www "as well
All the best - Andy
-
I would do the redirect, essentially if you can access your site from www.example.com and example.com and both have the same content this will be classed as duplicate.
This won't do any harm to your current rankings and should actually have a positive effect
-
shouldn't hurt your rankings, only help. might see a temporary dip as google updates its index.
make sure the www. is the more authoritative version of your site by check PA/DA on opensiteexplorer
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
-
Unsolved Temporary redirect from 302 to 301 for PNG File?
#302HTTP #temporaryredirect
Technical SEO | | Damian_Ed 0
Hi everyone, Recently I have faced a crawl issue with my media images on website. For example this page url https://intreface.com/wp-content/uploads/2022/12/Horion-screen-side-2.png has 302 HTTP Status and the recommendation is to change it 301. I have read the article on temporary redirections here:
https://mza.bundledseo.com/learn/seo/redirection?_ga=2.45324708.1293586627.1702571936-916254120.1702571936
but its not written here how to redirect in my HTML 1 image url not the landing page.
Screenshot 2023-12-15 at 11.02.40.png
I have messaged to MOZ Support but they recommended to go for the MOZ Community!
Screenshot 2023-12-15 at 11.06.02.png Could you assist me wit this issue please? I can reach HTTML of the necessary page and change what I need for permanent redirection but firstly I need to understand how to do that correctly.0 -
How effective are 301 redirects in passing page rank?
I have a blog which is ranking well for certain terms, and would like to repurpose it to better explain these terms it is ranking for, including updating the url to the new term the blog will be about. The plan being to 301 redirect the old url to new. In the past, I've done this with other pages, and have actually lost much of the rankings that I had earned on the original URL. What is your take on this? Maybe repurpose blog, but maintain original URL just to be on the safe side? Thanks
Technical SEO | | CitimarineMoz0 -
Are you Able to keep 100% traffice when do domain redirect?
Let's say you consider re-branding and purchased a new domain, however, during past 3-5 years your page has got some content, CF, TF which appears to be quite good and not easy to build within a few mths. GWT says if you do 301 redirect from the old domain then you should transfer 100% juice from the old domain as well as the juice from old external links to old domain to the new one I did some Tech Seo improvements and while ago and my experience is GWT says one but life shows slightly opposite. This is a big thing with no Emergency exit so I have got some concerns. What is your experience with that? Have you done any transfers if so what was the result? Thanks in advance for your feedback
Technical SEO | | Miniorek0 -
HTacess 301 redirect with special characters
Hello moz community ! I would to make a special 301 redirection through my htaccess file. I am a total noob concerning regexp and 301 redirection. I would like to redirect(301) this url : http://www.legipermis.com/stages-points/">http://www.legipermis.com/stages-points/</a></p>; yes yes it's in the index of google, this strange url includes the last ; to http://www.legipermis.com/stages-points/ I have already include a canonical tag by security, i would like to remove url with a 301 redirection and by remove this url through GWT (but the removal tool can't "eat' this kind of URL) Please consider the fact that i am not an expert about 301 redirections and regexps. No 301 redirect generator works properly for such a strange URL (which triggers content duplication corrected anyway with canonical tag). Thanks for your help.
Technical SEO | | LegiPermis0 -
Max Number of 301 Redirections?
Hi, We currently made a re-design of a website and we changed all our urls to make them shorter. I made more than 300 permanent redirections but plenty more are needed since WMT is showing some more 404s from old urls that I hadn't seen because they were dynamic. The question is, please, is there a limit? I think we have more than 600 already. We don't want to create a php commando to redirect all the old ones to our home, we are redirecting them to their correspondent url. By the way, Im doing them with the 301 method in .htaccess. Thanks in advance.
Technical SEO | | Tintanus0 -
Soft 404's on a 301 Redirect...Why?
So we launched a site about a month ago. Our old site had an extensive library of health content that went away with the relaunch. We redirected this entire section of the site to the new education materials, but we've yet to see this reflected in the index or in GWT. In fact, we're getting close to 500 soft 404's in GWT. Our development team confirmed for me that the 301 redirect is configured correctly. Is it just a waiting game at this point or is there something I might be missing? Any help is appreciated. Thanks!
Technical SEO | | MJTrevens0 -
Can you 301 redirect a page to an already existing/old page ?
If you delete a page (say a sub department/category page on an ecommerce store) should you 301 redirect its url to the nearest equivalent page still on the site or just delete and forget about it ? Generally should you try and 301 redirect any old pages your deleting if you can find suitable page with similar content to redirect to. Wont G consider it weird if you say a page has moved permenantly to such and such an address if that page/address existed before ? I presume its fine since say in the scenario of consolidating departments on your store you want to redirect the department page your going to delete to the existing pages/department you are consolidating old departments products into ?
Technical SEO | | Dan-Lawrence0 -
301 redirects and old domain names
Thanks to the great advice i've received on this forum, I'm combining 50 different truck sites into a single, ultimate truck website. So my question is how long should I make a website 301 redirect to the appropriate page on my new website? My thought is that if it works well to have a single website, it might be nice to eventually sell off some of the old domain names that I won't be using anymore. Thanks! Andy
Technical SEO | | daenterpri0