SSL redirection on registration page, non SSL on others pages

  • Thread starter Thread starter account8226
  • Start date Start date
A

account8226

Guest
Hello, here is my problem ;) ;)

I woudl like to redirect ALL MY PAGES to http (https to http redirection).
I would like only one page (register.php) to get redirected to https from http.

The main problem, is that when I redirect everything execpt register.php on my forum, the https is not valid
THJN3I.jpg
since all the media like my images are redirected to http.

RewriteCond %{SERVER_PORT} ^443$
#RewriteCond %{REQUEST_URI} !^/register\.php$
#RewriteCond %{REQUEST_URI} !^/logo.png
RewriteRule (.*) http://rmywebsite.com/$1 [R=301,L]

Best regards to all.
 
Top Bottom