Dumb SEO Questions

(Entry was posted by Micah Fisher-Kirshner on this post in the Dumb SEO Questions community on Facebook, 05/09/2019).

301 redirect on certificate error

If a site`s certificate error comes up, but the page just 301 redirects elsewhere (to a different domain), does that matter?
This question begins at 00:16:49 into the clip. Did this video clip play correctly? Watch this question on YouTube commencing at 00:16:49
Video would not load
I see YouTube error message
I see static
Video clip did not start at this question

YOUR ANSWERS

Selected answers from the Dumb SEO Questions Facebook & G+ community.

  • Tony McCreath: Google will follow it, and so will the "juice". However, I don`t think browser will. They will pop up the warning. So it can be a bad user experience if you still have links to it.
  • Neil Cheesman: Wouldn`t the 301 redirect occur before the SSL certificate? (and that is a question for someone with better knowledge than me on the subject and not a statement)
  • Stockbridge Truslow: Depends upon how the redirection is handled. Server side and MOST wordpress plugins, the redirect will happen before any TLS is established, though - so you should be fine.
  • Richard Hearne: Actually, this also depends on multiple other links in the chain. Your DNS, HTTP server and any intermediary systems are all hit before an interpreter like PHP (which would then run WordPress) is ever called. Basically, if anything in the chain enforces HTTPS, then the redirect to the alternative domain may not be seen before HTTPS handshake. Some examples: HSTS policy set in HTTP headers, HTTP server redirecting non-HTTPS requests to HTTPS, Cloudflare handling DNS and enforcing HTTPS at that point, the list goes on. So the comment above "Server side and MOST wordpress plugins" is entirely dependent on various other aspects in your set-up. A heck of a lot happens long before your request gets anywhere near PHP etc. or WordPress.

View original question in the Dumb SEO Questions community on Facebook, 05/09/2019).