Support » Plugin: Lockdown WP Admin » Works exactly as expected.

  • adamjedgar

    (@computersimulatorscom)


    Great plugin…running on a subdirectory installation on Wamp server (@ localhost) and its working on a network wordpress install with custom theme without issue.
    Also installed on a production server on a standalone wordpress site…absolutely brilliant.

    Very happy

    Only suggestion that i will add for others who decide to use this plugin…some users may rather redirect back to home page instead of 404.

    I dont know what would happen in the event of a real need for a 404 page when using the following (thats for others to provide insight into).

    If you like the idea of redirecting unwanted logins back to homepage do the following;

    Go to www directory in cpanel file manager (or ftp)

    Then locate…wordpress/wp-content/themes/<your active theme> 404.php

    use the following code instead of default

    <?php
    header(“HTTP/1.1 301 Moved Permanently”);
    header(“Location: “.get_bloginfo(‘url’));
    exit();
    ?>

    any attempts to login to wp-admin with above code and this plugin will simply now redirect back to home page all the time.

    It owuld be nice if the plugin had a little more functionality so this could be only the outcome of an attempt to log in rather than any 404 error.

    Perhaps and idea for a premium version of this plugin.

    • This topic was modified 2 years, 6 months ago by  adamjedgar.
  • The topic ‘Works exactly as expected.’ is closed to new replies.