Hi,
I'm trying to rewrite https to http for the non-secure pages of my site to prevent the users from receiving a "This page contains secure and non-secure items" pop-up warning. The store section of the site is the only part that needs to be https/secure.
Here's what I have so far:
RewriteCond %{SERVER_PORT} ^443$
#RewriteRule !^(index\.php\?option=com_wrapper&view=wrapper&Itemid=42)$ http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
So what I think this should do is if the link has https and does not have "index\.php\?option=com_wrapper&view=wrapper&Itemid=42" then it should rewrite as http.
Currently, it rewrites all URLs to http. Even the store pages which use to be https.
Maybe there's a problem with my regular expression?
Any help would be greatly appreciated.
Thanks!