• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

SSL redirection on registration page, non SSL on others pages

A

account8226

Guest
#1
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
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.