Http:// to https:// 301 or 302 redirect
-
I've read over the Q & A in the Community, but am wondering the reasoning behind this issue.
I know - 301's are permanent and pass links, and 302s are temporary (due to cache) and don't pass links. But, I've run across two sites now that 302 redirect http:// to https://.
Is there a valid reason behind this? From my POV and research, the redirect should 301 if it's permanent, but is there a larger issue I am missing?
-
Our IT guys do the same with our sites and they have no good reason for doing it.
-
301 permanent redirect. Its the best solution and google too likes it.
hope it helps
-
I am not sure what big IT gurus think before they add 302 over 301 but if you ask me I have a simple rule that I apply before deciding which redirection to use.
- Obviously there is no hard and fast rule that you should use 301 over 302 redirections.
- Always keep it simple, you need to flow the link juice to the next page, go for 301 and if you don’t go with 301.
Hope this helps!
-
Thanks for that article. I've always thought it to be a hard and fast rule that 301s should be used over 302. But the more I've run into https:// (with very brilliant IT guys), they always use 302s.
I've always wanted to understand the implications behind using 302s from the IT perspective - because from an optimization perspective, there is normally no doubt a 301 should be used.
Thank you.
-
It doesn't totally answer it I don't think, but it may shed light onto the issue. It could be a server specific/site specific kind of need as to why they are doing this.
-
Mike,
This is a really interesting question. The assumption is they are wanting a user to access the site securely every time. I cannot think of a reason for this not to be 301. I am assuming it is not from a single error page or other "event." I am guessing that someone within the Moz community will have an answer; it may be that they are doing it incorrectly.Best
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 there a way to set up 301 auto redirects from 404s
some of our pages under a specific website section gets deleted from another data source and we want to resolve the problem of 404s can we set up automated 301 redirects to the main page as soon as one of these pages are deleted
Technical SEO | | lina_digital2 -
Backlink management: 301 redirect unsuccessful.
I am managing my company's spammy backlinks using Open Site Explorer. Our company owns a few URLs that are related to our company or are iterations of our main URL. All of these additional URLs have 301 redirects to our main domain. Open Site Explorer has identified one of these URLs as having a spam score of 8 indicating a 56% chance of Google crawler penalization. Obviously, this is a red flag. Instead of being redirected to our main domain upon visiting the URL, I was directed to what seems to be an automatically generated, generic webpage with links that seem to have been generated by keywords from our main domain. I have seen this type of webpage before when incorrectly typing in URLs from other pages. They tend to look the same. They have a black background with the URL written in grey at the top and a rectangular related links bar. Is anyone familiar with my problem and could you offer any advice? Thanks, Ben
Technical SEO | | SOLVISTA0 -
Redirecting http to https, do I need to add new url to webaster tools?
Hey all, we just 301 redirected all our http url's to https. I'm getting some funky data in webmaster tools, such as a drastic change in pages indexed and pages submitted over pages indexed. Might be a dumb question, but do I need to update my website in webmaster tools with the new https address, or should I be getting credible data from the old http url that is already in there? Thank you in advance!
Technical SEO | | jaychow0 -
301 redirect + new website copy
Hi There, We are currently redeveloping our website and we're rewriting and optimising our many of our service pages. I think I may already know the answer but should we apply 301 redirects from our old services pages to the new versions? The content subject matter will be the same on the new versions, they will just be completely reworded. I would be interested to hear your views. Thanks, Stu
Technical SEO | | Stuart260 -
Does http://my.dudamobile.com/ Effect SEO
Hi, Hope everyone is enjoying the new year! I was wondering if converting your desk top website to a mobile one, example via http://my.dudamobile.com/, has any negative effects on SEO. Did it effect your site? Do you recommend doing it? Does it effect links? When people link to your desk top URL does that authority carry to the mobile, or would it be better if they link to the mobile (m.website.com) URL? Is http://my.dudamobile.com/ a good choice? Any feedback, as always, is greatly appreciated! Thanks Jimmy
Technical SEO | | jimmy02250 -
301 redirect problems on site not yet moved
I have re-designed one of my sites, the old site is all static pages on a Windows server, I have made the new sites and it is on a new server and is running on Wordpress. I have just finished testing it and so am nearly ready to switch over the nameservers to the new server, however I'm having some problems with 301 redirects. I have tried to set up a few 301 redirects on the new server to test before I change nameservers but they don't appear to be working. I would have imagined that they should (even though the actual page isn't hosted on the new server) or am I being very stupid here and I can't test a 301 redirect until the nameservers have been changed. Redirect 301 /magazines.htm http://.../~account/magazine-freebies Obviously the above with the stars (*) is the server address and route to my account.
Technical SEO | | Wardy0 -
Rel - canonical vs 301 redirect
I have multiple product pages on my site - what is better for rankings in your experiance? If I 301 the pages to 1 correct version of the product page - or if I rel caanonical to the one correct page?
Technical SEO | | DavidS-2820610 -
Joomla 301 redirects
hi i am using joomla sef404 and i have 7000 not found pages in my webmaster google tool page. the trouble is i got rid of a lot of pages and also components so now i am left with loads of not found pages. what i want to try and do is to create 301 redirects so that i do not lose page rank. can anyone please let me know how to do this step by step please
Technical SEO | | ClaireH-1848860