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
-
Redirect inbound links to youtube?
I have a website that's been going for 10 years or so, doesn't get huge traffic but it's fairly consistent. About 5 years ago I put the same content on youtube- instructional how to videos. The website offers slightly better content because there are images to accompany the step by step text below the videos. The text is more or less the same on youtube and my website. Recently, youtube has started to vastly out-perform my website. For every page/video on my website, there is a youtube page. They're basically competing against each other. Over the years I have accrued a fair number of links to my website. My question is, should I redirect my inbound links to the relevant youtube pages and sacrifice my website? Thanks! Will
Intermediate & Advanced SEO | | madegood0 -
301 redirect to search results page?
Hi - we just launched our redesigned website. On the previous site, we had multiple .html pages that contained links to supporting pdf documentation. On this new site, we no longer have those .html landing pages containing the links. The question came up, should we do a search on our site to gather a single link that contains all pdf links from the previous site, and set up a redirect? It's my understanding that you wouldn't want google to index a search results page on your website. Example: old site had the link http://www.oldsite.com/technical-documents.html new site, to see those same links would be like: http://www.newsite.com/resources/search?View+Results=&f[]=categories%3A196
Intermediate & Advanced SEO | | Jenny10 -
Redirecting a Few URLs to a New Domain
We are in the process of buying the blog section of a site. Let's say Site A is buying Site B. We have taken the content from Site B and replicated it on Site A, along with the exact url besides the TLD. We then issued 301 redirects from Site B to Site A and initiated a crawl on those original Site B urls so Google would understand they are now redirecting to Site A. The new urls for Site A, with the same content are now showing up in Google's index if we do a site:SiteA.com search on the big G. Anyone have any experience with this as to how long before Site A urls should replace Site B urls in the search results? I undestand there may be a ranking difference and CTR difference based on domain bias, etc... I'm just asking if everything goes as planned and there isn't a huge issue, does the process take weeks or months?
Intermediate & Advanced SEO | | seoaustin0 -
Htaccess redirect veriables
Hey, I'm trying to redirect all instances of "/archive_details.php?id=*" to "/public-affairs-job-archive.php". Is the below code correct? Redirect 301 /archive_details.php?id=* /public-affairs-job-archive.php Thanks, Luke.
Intermediate & Advanced SEO | | NoisyLittleMonkey0 -
Redirection strategy for mobile site
Hello folks! I am just about to launch a mobile specific version of our website. We were not able to make the main site responsive so have decided to make a seperate copy on an m dot subdomain. I have kept the url structure identical between both sites and added a canonical url on the mobile pages pointing to the desktop site. I will detect and redirect all mobile devices and googlebot mobile crawler to the m dot site. The questions i have are as follows... Is that the best approach if you use a mobile specific site on a seperate subdomain? What type of redirects should i use to send mobile users (and googlebot mobile) to the mobile site? My mobile site does not have all the pages the desktop site has. What happens if i redirect a mobile user from a page on the desktop site to a page on the mobile site that does not exist? (will give 404 currently). I guess i could maintain a list of valid mobile urls but this would be a pain (and a bit of an overhead) Your help is most appreciated Regards
Intermediate & Advanced SEO | | RobertHill0 -
Mobile alternates and redirects
Hi! We have a desktop version of our site at http://www.domain.com, and some weeks ago, we launched a mobile edition at http://m.domain.com, replicating the most important sections of the site, but not yet all of them. Actually, if you access with a mobile device userAgent to any desktop url you are redirected to the home of the mobile web. This is the only redirect implemented about mobile and desktop versions. A) Shall we also redirect "Googlebot-Mobile" to our mobile site, or it could be considered cloaking?
Intermediate & Advanced SEO | | marianoSoler98
B) Its necessary to implement the rel="alternate" media="handheld" tag in all of our Desktop SEO URLs? And in our mobile ones? Can't it be implemented via sitemaps like the rel="alternate" hreflang="x" tag?
C) Would the linkbuilding job done on the Desktop version affects the Mobile also, or we would still need to do a separate job? Thanks!0 -
Redirecting Powerful Domains
What do you do if you have a client that never implemented a 301 redirect on their domain? For example here are the OSE stats for the URLs; http://url.com PA: 48 DA: 50 LRD: 65 TL: 1,084 FB: 178 FB: 14 T:5 http://www.url.com PA: 51 DA: 50 LRD: 165 TL: 2,271 FB: 178 FB: 14 T:5 G+1:3 My first instincts are to redirect the first one to the second one, but is it too late for that? Will that screw up all of their established stats? Any input or examples of past experiences with this would be great.
Intermediate & Advanced SEO | | MichaelWeisbaum0