Jump to the post that solved this thread.
Solved: 6 Years, 3 Months, 2 Weeks ago .htaccess redirrection
#1
Solved: 6 Years, 3 Months, 2 Weeks ago
Hi,

i have SSL on my hosting and i want to automatically redirrect ; no matter what type in browser: with or without

http:// and (or) www.

redirrect in to

https://

Thank you in advance and cheers !
Reply
#2
Solved: 6 Years, 3 Months, 2 Weeks ago
Add this to your .htaccess file

RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)