Bruce Gust
asked on
htaccess file to redirect traffic to https
I've got a security certificate installed and I want to direct all online traffic to the https: version of my site.
How do I configure my htaccess file to do that?
Also, do I need to be sensitive to anything as far as my directories are concerned? It seems like in the past any images coming from a folder that wasn't considered "secure" wouldn't show up. Is there anything I need to do before flipping the switch to ensure that all my accessories (images, mp3 files, etc.) are showing up the way they need to?
How do I configure my htaccess file to do that?
Also, do I need to be sensitive to anything as far as my directories are concerned? It seems like in the past any images coming from a folder that wasn't considered "secure" wouldn't show up. Is there anything I need to do before flipping the switch to ensure that all my accessories (images, mp3 files, etc.) are showing up the way they need to?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ([0-9]+)$ qr/contestant.php?id=$1 [L,NC,QSA]
How do I implement your counsel, while still preserving this dynamic?