• I’m using v3.7.9 of the plugin, and I am using the Rename Login URL function. I have created an .htaccess rule to redirect all https links to http except for anything containing wp-admin, wp-login, or mysecretloginurl:

    # BEGIN Redirect most HTTPS to HTTP
    RewriteEngine On
    
    RewriteCond %{HTTP:X-Forwarded-SSL} !on
    RewriteCond %{REQUEST_URI} ^\/(wp-admin|wp-login|mysecretloginurl)
    RewriteRule (.*) https://%{HTTP_HOST}/$1 [L,R=301]
    
    RewriteCond %{HTTP:X-Forwarded-SSL} =on
    RewriteCond %{REQUEST_URI} !^\/(wp-admin|wp-login|mysecretloginurl)
    RewriteRule (.*) https://%{HTTP_HOST}/$1 [L,R=301]
    # END Redirect most HTTPS to HTTP

    However the problem is that with this code active, mydomain.com/mysecretloginurl redirects to the mydomain.com home page.

    This happens whether I place my code before or after the AIOWPS rules in .htaccess/

    https://www.ads-software.com/plugins/all-in-one-wp-security-and-firewall/

Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Conflict between AIOWPS and HTTPS to HTTP rule’ is closed to new replies.