Homepage 302 Redirect For SSL
-
Hi All,
My site, http://domain.com, currently has a 302 redirect from http://domain.com to https://domain.com.
The reason we have an SSL cert is because we have a registration and log in form on the homepage (as well as log in options in the top bar of every page on the site - email/password).
My question is:
When taking SEO best practices into account, would we be better having a 301 redirect from http://domain.com to https://domain.com as most of our inbound links are directed to http://domain.com.
Thanks for any help!
-
Hi Mike,
We used the SEOMoz crawl test tool that provided the results.
The below stats are for the http://domain.com and the https://domain.com (we have a 302 from the http:// to the https://. Results are exactly the same.
<colgroup><col span="4" width="65"></colgroup>
| Internal Links | Linking Root Domains | External Links | Page Authority |
| 216 | 58 | 259 | 45 |
| 216 | 58 | 259 | 45 | -
What tool are you using to get your backlink profile?
Can you provide your domain?
Mike
-
It does not matter from an SEO standpoint whether you link to https or http from your homepage to a secondary page.
What does matter is that you only have one version. You do not want to have http://domain.com/second-page and https://domain.com/second-page on your website.
Hope this helps.
Mike
-
Hi Mike,
Thought you might find this interesting:
I was checking my crawl stats and it appears that the http://domain.com and the https://domain.com pages have returned the exact same backlink and page authority results. As mentioned, we currently have a 302 redirect in place here so I'm not sure how the https has managed to stack up the same page authority and backlinks as the http. Any idea?
-
Hi Mike,
That makes perfect sense. One last question that I'd really appreciate your knowledge on:
We go ahead and set up a 301 redirect from http://domain.com to our https://domain.com homepage.
On the homepage, we have a number of links to other pages on the site that are publicly visible. For these links on the homepage, would you advise that we set up a 301 redirect from https://domain.com/second-page to http://domain.com/second-page or is there any problem with keeping the tier 2 pages as https://domain.com/second-page.Thanks again Mike - much appreciated.
-
-
If you currently have a 302 in place directing http to https, you are only utilizing the backlinks of the https version. Once you implement a 301 from http to https, you will be gaining the backlinks that the http version has pointing at it and directing them to the https version.
-
No. If you need to use https, you need to use it. It is not looked down upon or more difficult to rank for or any of that... merely personal preference or need based.
Does that answer your question?
Mike
-
-
Hi Mike,
Thanks a lot for the response there. Just two quick follow ups:
-
Would we be losing any juice or search ranking already established with http://doman.com if we now set up a 301 redirect to https://domain.com (given that the site has been operating for over a year in its current form)?
-
Is there any negative side to setting up a homepage 301 redirect to an SSL homepage (https://domain.com)?
Thanks again for your help.
-
-
If I were you, I would change the 302 redirect to a 301.
A 302 redirect tells search engines that it is a temporary redirect and to not pass any link juice, because it is a temporary redirect and will be changing.
A 301 redirect tells search engines that it is a permanent redirect and to go ahead and allow link juice to flow from one page to another, because it is a permanent redirect and will not be changing.
Make sense?
Hope this helps.
Mike
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
-
Selectively 301 redirects
Hi there: We are developing a pretty typical 301 redirection strategy. We basically are moving blog posts from a former sub-domain to the top level of our new designed site. We've pulled a site crawl of the old sub-domain and want to make sure we redirect any posts with a significant backlink profile to their current counterparts. Most other posts are just going to be redirected to the main 'front door' of our new blog. Is there a way to selectively redirect a certain number of posts and then 'globally' redirect everything else to a single URL? I would assume this would be a pretty common task, but can't find an easy way to do what we want to do.
Intermediate & Advanced SEO | | Daaveey0 -
Adventurous 301 redirection chain
Picture this - if you have a spirit for adventure! Client builds Alpha****Domain.com Then builds a number of backlinks to Alpha****Domain.com Client also creates a number of 301 redirects from several older domains to AlphaDomain.com Client then changes Alpha****Domain.com to Beta****Domain.com They create 301 redirects from Alpha****Domain.com to Beta****Domain.com But then... they 'park' Alpha****Domain.com (ie. no longer accessible)! About one year later, client changes a whole bunch of URLs on Beta****Domain.com without keeping track of changes. Thankfully, the hosting service (Shopify) automatically creates some redirects, but it's more by accident than design! Questions: After step 6 above, are the 301 redirects created in steps 3 and 5 now totally redundant and broken? If AlphaDomain.com no longer exists, surely all redirects to and from this domain are broken? Or can they be recovered? What happens to all the backlinks originally created in step 2? Finally, can anything be done to recover lost URLs in step 7? Yes. What a mess!
Intermediate & Advanced SEO | | muzzmoz0 -
301 redirects
One of our employees took an SEO class recently. She was told that having too many 301 redirects can hurt SEO. I have never heard of 301 redirects as having a negative impact. Any thoughts?
Intermediate & Advanced SEO | | Smart_Start0 -
Robots.txt and redirected backlinks
Hey there, since a client's global website has a very complex structure which lead to big duplicate content problems, we decided to disallow crawler access and instead allow access to only a few relevant subdirectories. While indexing has improved since this I was wondering if we might have cut off link juice. Since several backlinks point to the disallowed root directory and are from there redirected (301) to the allowed directory I was wondering if this could cause any problems? Example: If there is a backlink pointing to example.com (disallowed in robots.txt) and is redirected from there to example.com/uk/en (allowed in robots.txt). Would this cut off the link juice? Thanks a lot for your thoughts on this. Regards, Jochen
Intermediate & Advanced SEO | | Online-Marketing-Guy0 -
What are the effects of having Multiple Redirects for pages under the same domain
Dear Mozers, First of all let me wish you all a Very Happy, Prosperous, Healthy, Joyous & Successful New Year ! I'm trying to analyze one of the website's Web Hosting UK Com Ltd. and during this process I've had this question running through my mind. This project has been live since the year 2003 and since then there have be changes made to the website (obviously). There have also been new pages been added, the same way some new pages have even been over-written with changes in the url structures too. Now, coming back to the question, if I've have a particular url structure in the past when the site was debuted and until date the structure has been changes thrice (for example) with a 301 redirect to every back dated structure, WOULD it impact the sites performance SEOwise ? And let's say that there's hundreds of such redirections under the same domain, don't you think that after a period of time we should remove the past pages/urls from the server ? That'd certainly increase the 404 (page not found) errors, but that can be taken care of. How sensible would it be to keep redirecting the bots from one url to the other when they only visit a site for a short stipulated time? To make it simple let me explain it with a real life scenario. Say if I was staying a place A then switched to a different location in another county say B and then to C and so on, and finally got settled at a place G. When I move from one place to another, I place a note of the next destination I'm moving to so that any courier/mail etc. can be delivered to my current whereabouts. In such a case there's a less chance that the courier would travel all the destinations to deliver the package. Similarly, when a bot visits a domain and it finds multiple redirects, don't you think that it'd loose the efficiency in crawling the site? Ofcourse, imo. the redirects are important, BUT it should be there (in htaccess) for only a period of say 3-6 months. Once the search engine bots know about the latest pages, the past pages/redirects should be removed. What are your opinions about this ?
Intermediate & Advanced SEO | | eukmark0 -
Blocking some countries and redirecting that traffic
Hi there, I have a video site, which is on CDN and is really expensive to run. So I want to block most of the countries and only keep HQ ones. I wonder if there's a difference if I just block them and show blank page, or if I show them a page with text and let's say a link to a different site or if I just simply redirect to some other site. Do you think I can still get good ranking on google on countries that I don't block?
Intermediate & Advanced SEO | | melbog0 -
My homepage dropped off of Google today? Any ideas?
My site, www.leaffilter.com, previously ranked #1 for searches of "leaffilter" and "leaf filter". Today the #1 ranking for "leaffilter" with Google is gone. Well, it's not gone on all internet connection. At home the #1 ranking is in place. At the office computer it is not anywhere near page 1. I'm testing searches logged in, not logged in, cache and cookies cleared, different browsers. Other, secondary pages, are appearing on page 1. It looks as if the homepage is just no longer indexed...but not on all internet connection. Any ideas what is happening? Does anyone have any troubleshooting tips?
Intermediate & Advanced SEO | | LF_digital0 -
Interesting 302 redirect situation - could they be a good idea??
Just started with a new SEO client. The site is built on Sharepoint Server 2007 running Windows Server 2003 R2 on IIS 6.5 (I know, fun times for me). Being a standard crappy Windows setup, URLs and canonicalization is a huge issue: first and foremost, we get a 302 redirect from the root www.example.com to www.example.com/Pages/default.aspx Now standard SEO best practices dictate that we rewrite and redirect these pages so they're clean URLs. However that may or may not be possible in the current environment - so is the next best thing to change those to 301s so at least link authority is passed better between pages? Here's the tricky thing - the 302s seem to be preventing Google from indexing the /Pages/default.aspx part of the URL, but the primary URL is being indexed, with the page content accurately cached, etc. So, www.example.com 302 redirects to www.example.com/Pages/default.aspx but the indexed page in Google is www.example.com www.example.com/sample-page/ 302 redirects www.example.com/sample-page/Pages/default.aspx but the indexed page in Google is www.example.com/sample-page/ I know Matt Cutts has said that in this case Google will most likely index the shorter version of the URL, so I could leave it, but I just want to make sure that link authority is being appropriately consolidated. Perhaps a rel=canonical on each page of the source URL? i.e. the www.example.com/sample-page/ - however is rel=canonical to a 302 really acceptable? Same goes for sitemaps? I know they always say end-state URLs only, but as the source URLs are being indexed, I don't really want Google getting all the /Pages/default.aspx crap. Looking for thoughts/ideas/experiences in similar situations?
Intermediate & Advanced SEO | | OddDog0