Redirect all format of url to (https..And where i can upload the file.When i tried through c panel i got redirection loop. Thanks
RewriteEngine On RewriteCond %{HTTP} on RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] Code (markup): You want to make a new text files and name it .htaccess (you'll likely need to rename on your server). Upload it via FTP to the root public_html directory of your site
You should use the https protocol if you have a SSL certificate and have installed it correctly. You can force your website to use the https protocol by creating or modifying an .htaccess file in the root folder (public_html). Add following code in .htaccess file RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} Code (markup):