• geokongr

    (@geokongr)


    Hello,

    Thanks for this useful plugin.

    I suggest when WPS Hide Login is active to give the option to redirect to the 404 page of the site when entering site-url/wp-admin (instead of the “This has been disabled page”) and also use default site title instead of the “WordPress > Error” title.

    This way we will have an extra “info protection” layer about our site back-end.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I completly agree with You !
    I solved in this way:
    In the file “wps-hide-login.php” at line 391 you’ll find this line code

    wp_die( __( 'This has been disabled', 'wps-hide-login' ), 403 );

    replace it with this

    header("Location: https://yourdomain.com/404");
    die();

    Warm regards
    Ale

    • This reply was modified 7 years, 8 months ago by phaser32.
    • This reply was modified 7 years, 8 months ago by phaser32.
    • This reply was modified 7 years, 8 months ago by phaser32.
    Thread Starter geokongr

    (@geokongr)

    That is very useful, i will try it, thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Feature: 404 page and default Site Title’ is closed to new replies.