WordPress.org

Forums

Hide Login+
Does not work at all (4 posts)

  1. taropaa
    Member
    Posted 2 years ago #

    Simply put the plugin does not do what is advertised.

    http://wordpress.org/extend/plugins/hide-login/

  2. PioneerSkies
    Member
    Posted 2 years ago #

    I was asking if you and others, like JBird608 fallen in a problem like mine:

    I activated the plugin, it wrote down code to htaccess, but nothing happened and auth service pages stopped working.
    I was using some wordpress internal apache's rewrite rules for nice url displaying, so I've merged that rules with the ones of the plugins; first the plugin's ones than the wordpress' ones. Just like this:

    before

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
    # HIDE-LOGIN
    RewriteEngine On
    RewriteBase /
    RewriteRule ^logout wp-login.php?action=logout&_wpnonce=5ae547769e&hide_out_key=pbaAAi02H [L]
    RewriteRule ^login wp-login.php?hide_in_key=9aX0AaAK&redirect_to=http://greenline-int.com/wp-admin/ [R,L]
    RewriteRule ^admin wp-admin/?hide_admin_key=X6Q [R,L]
    RewriteRule ^register wp-login.php?hide_reg_key=aQR2l&action=register [R,L]
    RewriteCond %{HTTP_REFERER} !^http://greenline-int.com/wp-admin
    RewriteCond %{HTTP_REFERER} !^http://greenline-int.com/wp-login\.php
    RewriteCond %{HTTP_REFERER} !^http://greenline-int.com/login
    RewriteCond %{HTTP_REFERER} !^http://greenline-int.com/admin
    RewriteCond %{QUERY_STRING} !^hide_in_key=9aX0AaAK
    RewriteCond %{QUERY_STRING} !^hide_out_key=pbaAAi02H
    RewriteCond %{QUERY_STRING} !^hide_reg_key=aQR2l
    RewriteCond %{QUERY_STRING} !^hide_admin_key=X6Q
    RewriteRule ^wp-login\.php http://greenline-int.com [L]
    RewriteCond %{QUERY_STRING} ^loggedout=true
    RewriteRule ^wp-login\.php http://greenline-int.com [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END HIDE-LOGIN

    after

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    # HIDE-LOGIN
    RewriteRule ^logout wp-login.php?action=logout&_wpnonce=5ae547769e&hide_out_key=pbaAAi02H [L]
    RewriteRule ^login wp-login.php?hide_in_key=9aX0AaAK&redirect_to=http://greenline-int.com/wp-admin/ [R,L]
    RewriteRule ^admin wp-admin/?hide_admin_key=X6Q [R,L]
    RewriteRule ^register wp-login.php?hide_reg_key=aQR2l&action=register [R,L]
    RewriteCond %{HTTP_REFERER} !^http://greenline-int.com/wp-admin
    RewriteCond %{HTTP_REFERER} !^http://greenline-int.com/wp-login\.php
    RewriteCond %{HTTP_REFERER} !^http://greenline-int.com/login
    RewriteCond %{HTTP_REFERER} !^http://greenline-int.com/admin
    RewriteCond %{QUERY_STRING} !^hide_in_key=9aX0AaAK
    RewriteCond %{QUERY_STRING} !^hide_out_key=pbaAAi02H
    RewriteCond %{QUERY_STRING} !^hide_reg_key=aQR2l
    RewriteCond %{QUERY_STRING} !^hide_admin_key=X6Q
    RewriteRule ^wp-login\.php http://greenline-int.com [L]
    RewriteCond %{QUERY_STRING} ^loggedout=true
    RewriteRule ^wp-login\.php http://greenline-int.com [L]
    <em>RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d</em>
    <em>RewriteRule . /index.php [L]</em>
    RewriteRule ^index\.php$ - [L]
    <em>RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d</em>
    <em>RewriteRule . /index.php [L]</em>
    # END HIDE-LOGIN
    </IfModule>

    You can see that

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    was present before and are now doubled by hide-login.

    My final result is:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    # HIDE-LOGIN
    RewriteRule ^logout wp-login.php?action=logout&_wpnonce=5ae547769e&hide_out_key=pbaAAi02H [L]
    RewriteRule ^login wp-login.php?hide_in_key=9aX0AaAK&redirect_to=http://greenline-int.com/wp-admin/ [R,L]
    RewriteRule ^admin wp-admin/?hide_admin_key=X6Q [R,L]
    RewriteRule ^register wp-login.php?hide_reg_key=aQR2l&action=register [R,L]
    RewriteCond %{HTTP_REFERER} !^http://greenline-int.com/wp-admin
    RewriteCond %{HTTP_REFERER} !^http://greenline-int.com/wp-login\.php
    RewriteCond %{HTTP_REFERER} !^http://greenline-int.com/login
    RewriteCond %{HTTP_REFERER} !^http://greenline-int.com/admin
    RewriteCond %{QUERY_STRING} !^hide_in_key=9aX0AaAK
    RewriteCond %{QUERY_STRING} !^hide_out_key=pbaAAi02H
    RewriteCond %{QUERY_STRING} !^hide_reg_key=aQR2l
    RewriteCond %{QUERY_STRING} !^hide_admin_key=X6Q
    RewriteRule ^wp-login\.php http://greenline-int.com [L]
    RewriteCond %{QUERY_STRING} ^loggedout=true
    RewriteRule ^wp-login\.php http://greenline-int.com [L]
    # END HIDE-LOGIN
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    And it works...most of the time :P

    One possible problem: if I'm in the wp-admin backend, the logout button works; if i'm on the front-end the logout button fails its job and the only way to log me out of there is to use http://address.ex/logout. But it depends on the directive:

    RewriteCond %{HTTP_REFERER} !^http://greenline-int.com/wp-admin
    RewriteCond %{HTTP_REFERER} !^http://greenline-int.com/wp-login\.php
    RewriteCond %{HTTP_REFERER} !^http://greenline-int.com/login
    RewriteCond %{HTTP_REFERER} !^http://greenline-int.com/admin

    so if I'm not arriving from a wp-admin page my request fall into the rwrule:
    RewriteRule ^wp-login\.php http://greenline-int.com [L]
    I think...

    Overall problems seems to big small and solvable, but as it stands at the moment I could use the plugin mostly as inspiration of my custom .htaccess...

    :)

  3. hungnh
    Member
    Posted 2 years ago #

    Yes me too, it's only working when user try to access wp-admin, but when i access by the path i put in config ex: mydomain.com/exapmle i get an message error 404 page not found :D

    i use stealth login it's the same this plugin in but now it not available

  4. pilleriin
    Member
    Posted 2 years ago #

    thanks, it heleped me too, a lot :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Hide Login+
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.