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
-
Advice on redirects for a category I want to reuse.
Hi, We have a current category set up that is starting to rank OK but we are going through a site re-build and this category URL will now better describe a new category of products. My dilemma is if I 301 redirect the current url to my new category I won't be able to use the URL for the new one. But if I don't redirect it will the pages that have already been ranked under this url then confuse customers and search engines. For example - Products and sub-categories under the URL /personalised-toys will now become /personalised-toys-for-boys but I want to use the /personalised-toys URL for a different set of sub categories and products. Any assistance or ideas or just definitely don't do it in a particular way would be greatly appreciated
Intermediate & Advanced SEO | | neil_stickergizmo0 -
My homepage ranks but not my target page.
Hello, I have an issue with one my pages. I have a page about "Bike tours in France+ exclusively that has been existing for almost 8 years. Since day 1 I changed the web address a few times but I have the necessary redirect (actually only 1). I can't find this page (pretty much since day 1) on the keyword "Bike tours France" and I am wondering why ? However, I can find my homepage rank on "Bike tours France" even though it doesn't only talk about "Bike tours in France" instead of my page which is only about "Bike tours in France". I am wondering why only my homepage shows and not the other one. For information, I have about 30 % of my external links that say Bike tours France and that go to my homepage because when I started my website I was only doing "Bike tours in France" Could google say we don't care about your page about "Bike tours in France" because you got so many links to your page with the keywords "Bike tours France" and could it be why I don't see it rank. However, it is index but doesn't show up in search results ? Or could it be the fact that made many content changes over the years on this page and that google is saying I will rank you but it will take years because of so many changes. What can I do to make my page about "Bike tours in France" appear in search results for the keyword "Bike tours in France". Thank you,
Intermediate & Advanced SEO | | seoanalytics0 -
Redirecting to Modal URLs
Hi everyone! Long time no chat - hope you're all well! I have a question that for some reason is causing me some trouble. I have a client that is creating a new website, the process was a mess and I am doing a last minute redirect file for them (long story, for another time). They have different teams for different business categories, so there are multiple staff pages with a list of staffers, and a link to their individual pages. Currently they have a structure like this for their staff bios... www.example.com/category-staff/bob-johnson/ But now, to access the staffers bio, a modal pops up. For instance... www.example.com/category-staff/#bob-johnson Should I redirect current staffers URLs to the staff category, or the modal URL? Unfortunately, we are late in the game and this is the way the bio pages are set up. Would love thoughts, thanks so much guys!!
Intermediate & Advanced SEO | | PatrickDelehanty0 -
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 -
Explaining 301 redirects instead of 302
I am trying to explain in layman's terms to a client why using 302 for their redirects (which they have done themselves) is not right. There view is they do not seem to listen or believe what is being said to them and do not want to do permanent damage to the old domain so are using 302 redirects. I have explained over and over 301 is needed but I do not seem to be good at communicating this. Can someone give me a good example or description I can use to get my point across?
Intermediate & Advanced SEO | | JohnW-UK0 -
301 redirect for duplicate content
Hey, I have just started working on a site which is a video based city guide, with promotional videos for restaurants, bars, activities,etc. The first thing that I have noticed is that every video on the site has two possible urls:- http://www.domain.com/venue.php?url=rosemarino
Intermediate & Advanced SEO | | AdeLewis
http://www.domain.com/venue/rosemarino I know that I can write a .htaccess line to redirect one to the other:- redirect 301 /venue.php?url=rosemarino http://www.domain.com/venue/rosemarino but this would involve creating a .htaccess line for every video on the site and new videos that get added may get missed. Does anyone know a way of creating a rule to rewrite these urls? Any help would be most gratefully received. Thanks. Ade.0 -
Keyword-Rich Domains - Redirect?
Hi, Mozzers- I have a client that has a bunch of pretty nice keyword-rich domain names. Their traffic and rankings are good. They provide legal services in the Chicago area. I have lots of good content that I could use to start a blog using a domain like keyword,keyword-blog.com. Good idea? Currently I have a resources area on their website but feel like this area could be getting a little bloated and some news-related stuff isn't really appropriate. 2 Questions: Should I use one of the decent domains for a blog and build up the rankings, traffic, and link to the main site? Or is this lots of work for little payout? Both sites would be hosted in the cloud. Some of the domain names are related to their name, others are keyword or geo-targeted. Would it be wise to setup 301 redirects going to their website? Pros/cons? If you need additional info, please PM me for details. Thank you, friends! LHC
Intermediate & Advanced SEO | | lhc670 -
Htaccess Redirect with %C2%A0 in URL
Below is my setup for redirects in .htaccess file in my root word press installation. The www to non-www works well, so no problems there Other page redirects work well, too (example: redirect 301 /some-page/ http://mysite.com/another-page/ (I didn't post those because I have a few too many : ) So here it goes... RewriteEngine On
Intermediate & Advanced SEO | | pepsimoz
RewriteCond %{HTTP_HOST} ^www.mysite.com$ [NC]
RewriteRule ^(.*)$ http://mysite.com/$1 [R=301,L] BEGIN WordPress <ifmodule mod_rewrite.c="">RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]</ifmodule> END WordPress redirect 301 /archives/10-college- majors/ http://mysite.com/archives/10-college-majors/ redirect 301 /archives/10-college-%20majors/ http://mysite.com/archives/10-college-majors/ redirect 301 /archives/10-college-%C2%A0majors/ http://mysite.com/archives/10-college-majors/ I'm having a problem with the last 301 redirect: redirect 301 /archives/10-college-%C2%A0majors/ http://mysite.com/archives/10-college-majors/ not working... As you can see I've tried using other varations of the "space" but no go. I also used a redirect in cPanel's Redirect screen; testing all the possible options + wildcard I've also tried this: http://serverfault.com/questions/201829/using-special-characters-in-apache-mod-rewrite-rule (perhaps unsuccessfully, because it caused a 500 server error and it's a different situation in my case) I also saw something here: http://www.webmasterworld.com/apache/3908682.htm but I don't know if it works and how I would implement that + do so without compromising ALL other redirects. Note: the URL displays with a space in the address bar of all major web browsers: http://mysite.com/10-college- majors/ and goes to a 404 page I have a goregous page / PR6 / high authority site linking to the URL on my site, but they copied the URL with a space somehow. I contacted the person responsible for the website and he claims it works fine (aka he didn't check it). Is there a clean way to redirect ONLY this problematic URL without compromising other redirects, etc? Any ideas would be great. I'll respond with progress. Thanks in advance. UPDATE the redirect works, and it did work. Even so, when looking at source of page linking to mine, the URL looks like this: ``` http://mysite.com/archives/10-college- majors/ Clicking the URL in Source View in FireFox takes me to ``` http://mysite.com/archives/10-college-%C2%A0majors/ none of my 301 redirects should direct there. I don't have any redirect plugins either.0