Hello,
I activated under "Domains > example.com > Hosting Settings" the "Permanent SEO-safe 301 redirect from HTTP to HTTPS".
This works very well, but now i want to exclude a whole folder from this redirect.
I got a domain like www.mydomain.com and now i want to exclude www.mydomain/admin/* and everything after admin/ like www.mydomain.com/admin/index.php?cl=****
How i can get this work? I tried to add the line
RewriteCond %{REQUEST_URI} !^/admin/? [NC]
in the /var/www/vhosts/system/mydomain.com/conf/httpd.conf but i will be still redirected to https.
Is there any solution for my problem?
Greetings
I activated under "Domains > example.com > Hosting Settings" the "Permanent SEO-safe 301 redirect from HTTP to HTTPS".
This works very well, but now i want to exclude a whole folder from this redirect.
I got a domain like www.mydomain.com and now i want to exclude www.mydomain/admin/* and everything after admin/ like www.mydomain.com/admin/index.php?cl=****
How i can get this work? I tried to add the line
RewriteCond %{REQUEST_URI} !^/admin/? [NC]
in the /var/www/vhosts/system/mydomain.com/conf/httpd.conf but i will be still redirected to https.
Is there any solution for my problem?
Greetings