Http Redirects to Https - then to Redirect 301
-
Searched - not seeing this exact issue(sorry if I'm wrong).
I'm my report I'm seeing that we have old URLs in the wild using http. Those requests come to our site, and then are redirected to the https version. However if this url does not exist, then there's another redirect 301 to the actual page.
This obviously causes a redirect chain. I've searched but don't see a clear answer to this. How can I avoid the chain? How can I go from the http to the new https URL without first incurring the double redirect?
"Look for any recurring chains that could be rewritten as a single rule. "
FWIW I don't see any http to https rewritecond's in my htaccess, and cannot trace where that redirect is generated from.
-
Its actually Magento, so htaccess should be where the http --> https redirect resides, but there's nothing there.
-
Hi there, if it's not on htaccess and you're on WordPress, check if you have redirect plugins? If not on those two, the redirect was probably done via code. I found this article, which may hopefully help you - https://www.webconfs.com/154/301-redirects-how-to-redirect-your-website/
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
-
Should backlink URLs include www, https, or both???
My business is located at remotebaba.com, and I am wanting several sites to link to it.
Link Building | | udaipabla
I am only interested in home page at this point, and we are using HTTPS for our site. Which one of these should I have other sites link to (Please provide complete justification):
remotebaba.com (my root domain)
www.remotebaba.com
https://remotebaba.com
https://www.remotebaba.com I really appreciate your help!1 -
Is there a downside to "closing" a domain and 301'ing to to your main domain?
We have a domain which was optimized for a specific keyword. It does very well for that keyword, but seems like it has in turn caused our primary domain to be penalized (back to page 3) for that same keyword (We think they've figured out the connection). The optimized domain (only one page) has links on it to our primary domain, so I don't want to delete it as that's where our traffic currently comes from. But if I deleted it and 301'ed it to the primary domain is there a downside? Alternatively I could disavow it, but if the search engines know it's the same owner will they hold that against all domains? Or, alternatively again. Should I turn it into a more substantial website? Which could in turn remove it's "spamminess". Any suggestions are welcomed!
Link Building | | absoauto0 -
Using brand domain for easy verbally said with 301 redirect to exact match.net for a site
I have recently bought an exact match.net for a keyword with no hyphens (on the fence about hyphens, read so many different views on here). From looking around it seems that not all solicited links that I am interested in use anchor text, but more significantly exact match domain would be like automatic anchor text when anyone from the general population posts a link to your site. I sell print books and am thinking of keeping the non-keyword domain in them so they are easy to say and type, while using the exact match domain for everything else online which the non-keyword domain would 301 redirect to. I don't do any programming and will use cPanel on my webhost to do the 301 redirect, I already have one 301 to go to the www subdomain so that would make two 301's. This might sound quite straight forward to many here but it's fairly new to me and I've not seen cPanel mentioned here yet, so was wondering if I am going about it the right way.
Link Building | | Zoolander0 -
Redirecting a penalized domain to a new one to remove penalty?
I've got this website that has been hit quite hard by the first Penguin update round. Would it be better to move all my content to another domain and do a 301 redirect? Or should I keep the penalized domain and try to clean up the bad link profile? Also I must say that the website has been hacked last fall and the hacker was able to upload porn stuff in one of the folders. Needless to say, I quickly acquired tons of links from porn and warez. And no, porn and warez has nothing to do with my website's topic. Thank you for your help! Stephane
Link Building | | sbrault740 -
Redirect a 404 page
Hi We encountered a problem with our site during a migration to a new platform and we lost much of link juice. I have noticed on SEOmoz Open Site explorer that our old urls from the old site still exists and many have high page authority. The urls all redirected currently to a 404 page and it is not possible to retrieve the old information For example this page http://www.featuredeco.co.uk/mall/departmentpage.cfm/FeatureDeco/_71989/1 This has a page authority of 32. Is it possible to retrieve the link juice from these pages and channel it on the Kind regards Paul
Link Building | | prano0 -
Do http:// links to a http://www. site count the same to Google?
In terms of links to one's site helping your position on Google, if your site defaults to http://www.example.com (automatically adds "www." even if it isn't typed), does Google count links that appear as http://example.com (without the www.) with the same "weight"? Thanks.
Link Building | | celife0 -
Backlinks from HTTPS adresses
I did a search of the Q&A and didn't see a direct answer to this, so here it goes! Is a backlink from an HTTPS address valued the same as an HTTP? Thanks!
Link Building | | endlesspools0 -
I cannot get any links indexed to this website http://atglimo.com.
I have written nofollow, follow links, issued a press release, and submitted to the Universal Business Listing. None of these links are showing in the Yahoo index. I did a nofollow bookmark with delicious and it disappeared the next day. The people that built the website will not grant FTP access and modded the HTACCESS file incorrectly to point to a WWW. version of the site. I had them remove the index.html duplicate content problem. What is going on? Why are no links showing in the index for this site?
Link Building | | eddie404ATL0