• Hi, I am using..er.. trying to use this plugin. I have a multisite install.

    Do I install and activate this at the network level, or do I activate it at the blog level?

    When I activated it, this plugin worked at the network level. When I tried to go to the blog level dashboard, I was told that there is a redirect loop that prevents the page from loding.

    code

    # HIDE-LOGIN
    RewriteEngine On
    RewriteBase /
    RewriteRule ^my-logout wp-login.php?action=logout&_wpnonce=78475b5ba8&hide_out_key=aKd1PrA [L]
    RewriteRule ^my-login wp-login.php?hide_in_key=03F0jiAa&redirect_to=https://blog.mysite.com/wp-admin/ [R,L]
    RewriteRule ^my-admin wp-admin/?hide_admin_key=AMaAB0T [R,L]
    RewriteCond %{HTTP_REFERER} !^https://blog.mysite.com/wp-admin
    RewriteCond %{HTTP_REFERER} !^https://blog.mysite.com/wp-login\.php
    RewriteCond %{HTTP_REFERER} !^https://blog.mysite.com/my-login
    RewriteCond %{HTTP_REFERER} !^https://blog.mysite.com/my-admin
    RewriteCond %{QUERY_STRING} !^hide_in_key=03F0jiAa
    RewriteCond %{QUERY_STRING} !^hide_out_key=aKd1PrA
    RewriteCond %{QUERY_STRING} !^hide_reg_key=aqFB0f60
    RewriteCond %{QUERY_STRING} !^hide_admin_key=AMaAB0T
    RewriteRule ^wp-login\.php https://blog.mysite.com [L]
    RewriteCond %{QUERY_STRING} ^loggedout=true
    RewriteRule ^wp-login\.php https://blog.mysite.com [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END HIDE-LOGIN

    I would really like to use this, but am unsure if I am doing something incorrectly. Any and all help is appreciated.
    https://www.ads-software.com/extend/plugins/hide-login/

Viewing 1 replies (of 1 total)
  • Thread Starter elanio

    (@elanio)

    Also how does this play with other .htaccess rules, where does the generated code NEED to lie?

    Options All -Indexes
    <files .htaccess>
    Order allow,deny
    Deny from all
    </files>
    
    <files readme.html>
    Order allow,deny
    Deny from all
    </files>
    
    <files license.txt>
    Order allow,deny
    Deny from all
    </files>
    
    <files wp-config.php>
    Order allow,deny
    Deny from all
    </files>

    And lastly, how does this .htaccess uphold with wp updates?

Viewing 1 replies (of 1 total)
  • The topic ‘Hid-login multisite re-direct loop’ is closed to new replies.