Force Http to Https for certain pages using htaccess

Status
Not open for further replies.
2 comments
hi
try s.th. like this

Code:
RewriteCond %{HTTPS} == on
RewriteCond %{REQUEST_URI} ^/billing/
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]

thoug not testet, but typed out of memory.

but wouldn't it be better to change the billing to https, too?

edit
Login to your WHMCS admin and update the system URLS in Setup > General Settings.
set it to https
all done :D
 
Last edited:
Status
Not open for further replies.
Back
Top