I’m scratching my head on this one. I need to set up a rule so when someone goes to an address on my site with /members/ in the url it will automatically switch back to http from https.
so kinda like
RewriteCond %{REQUEST_URI} ^/members/
RewriteRule ^(.*)$ http://www.domain-name.co.uk/$1
well I’m not so great with this type of problem so some help would be very much appreciated.
edit- current .htaccess
#RewriteCond %{HTTPS} on
#RewriteCond %{REQUEST_URI} !(acatalog)
#RewriteRule ^(.*)$ http:// %{SERVER_NAME}%{REQUEST_URI} [R=301]
Enable mod_rewrite and .htaccess through
httpd.confand then put this code in your.htaccessunderDOCUMENT_ROOTdirectory: