Which redirect to use when redirecting to https page from http page
-
I have one form under https which is redirected from the regular http page. this site was not made by me and I am trying to understand if the way it was redirected using 302 redirect is a problem
Thanks
-
302 redirects really should only be used if it's a temporary redirection. That's what it's for. If that form is NOT going to be changed to the non http version in the near future, there's no legitimate reason to leave the 302. With a 302 you lose any long-term value opportunity with the page the 302 points to.
Now the other issue is - do you want that form indexed? If not, it should be blocked from indexing.
Also, once someone goes into https status on that form, what happens when they go somewhere else on the site? Does it redlrect back to non https status? And if so, have you ensured that's true on every link out to other pages on the site from that form? Too many times I've seen that failed to be implemented.