/ Published in: Apache
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
RewriteCond %{SERVER_PORT} !=443 RewriteCond %{REQUEST_URI} ^/register\.php$ [OR] RewriteCond %{REQUEST_URI} ^/register-success\.php$ RewriteRule ^ https://www.foo.com%{REQUEST_URI} [NS,R,L]