-
HTTPS redirect advice
However, on the Outside, shifting from http to https is Very straight forward:
1. Buy an SSL certification,
2. put in your own SSL certification in your own website's hosting accounts,
3. Be certain any internet site backlinks are shifted from http to https so that they really are perhaps not divided once you reverse your https swap, also
4. Setup 301 redirects from HTTP to HTTPS to ensure your web page's addresses have shifted so anyone who's sought a webpage in your own internet site is instantly redirected to the https tackle once you reverse off the change.
-
This was my original code file when i was using the http version.
Im not to sure how to add it to this new code without breaking something.
-
Since you switched hosts, they are probably running a different version. This line tells the server to treat html and htm pages as php pages. What is actually happening though, is the php is trying to be served client-side, resulting in a download instead of an execution.
-
I use the free CloudFlare. You can get an SSL certificate there. It takes 5 minutes to install it.
-
A 301 redirect is sometimes necessary. If your website has not yet adopted https, Google will give a security prompt when the user visits, which may affect the user's trust in your website.
-
Redirecting from http to https is really troublesome. Buying ssl certificate directly to install it will sometimes cause unpredictable problems, but it is worth it. Users will not have risk warnings when they come to your website.
-
Go to Page Rules.
Snap "Make Page Rule"
Enter the URL (put the bullet, so redirection occurs for all the URI)
Snap "Add a Setting" and select "Consistently Use HTTPS" starting from the drop.