Support » Plugin: Safe Redirect Manager » Login page Url redirect not working

  • Resolved jjgoody


    I want to redirect wordpress login page to the login page that is offered by my theme. (Cuz I don’t want to reveal it is WordPress site.)


    • 1. I installed Safe Redirect.
    • 2. Created a rule that redirects from [/wp-login.php] to [/?page_id=38].
    • 3. The result is Still the same.(my login url “

Viewing 1 replies (of 1 total)
  • Plugin Contributor Daniel Bachhuber


    Hand Built

    Safe Redirect Manager doesn’t really support this use case. Instead, you could add something like the following to your theme’s functions.php:

    add_action( 'init', 'dbx_redirect_login' );
    function dbx_redirect_login() {
        if ( 'wp-login.php' != $_SERVER['REQUEST_URI'] )
        wp_safe_redirect( '/?page_id=38' );
Viewing 1 replies (of 1 total)
  • The topic ‘Login page Url redirect not working’ is closed to new replies.