Redirecting with HTML..?

  • Thread starter Thread starter D B
  • Start date Start date
D

D B

Guest
I am trying to redirect my website from http:// to https://. I have all SSL in place and everything, all i need is to redirect the page that I am securing to https:// from http://. i used the following code :

<meta HTTP-EQUIV="REFRESH" content="0;URL=https://www.example.html">

Now the problem is that the page continues to refresh when it redirects to the https. Any ideas on how to fix this? thanks...
im not sure where to make to .htaccess file? how do i do this? i know the code i need for it. But how do I do it?
 
You can also do a permanent redirect using your .htaccess file

redirect 301 index.html https://www.example.com/index.html
 
Looks to me like the problem is that this looks different from when I did my coding before. I'm pretty sure that I actually just put REDIRECT instead of REFRESH
 
Back
Top