I am trying to create a 301 redirect code to have all webpages in my website point to the https website area, to access my SSL encryption:
My .HTACCESS file:
Redirect 301 / https://www.mydomain.com
Currently this website is running on a shared server, with a Linux operating system, with an apache server.
The code that I am using is not successfully traversing to the correct domain name, it mentioned something about an endless loop. Please help
Just as a side note, when I physically type in my domain name with the https in front it, then it works fine.
Thanks for any help in advance.