Related questions
htaccess 301 redirect - Remove query string (QSA)
I've been struggling with some htaccess redirects. I just spent some time reading and searching on stack and couldn't get an anwser that works with my scenario.
I'm in the process of making the 301 redirect for an old client website …
Do HTTP authentication over HTTPS with URL rewriting
I am trying to protect the ~/public_html/dev directory using http auth basic, but to make that secure I want to run it over ssl.
The middle section of the below .htaccess file switches to https if the request …