The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Safe Redirect Manager
[resolved] Login page Url redirect not working (2 posts)

  1. jjgoody
    Posted 3 years ago #

    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 "http://espresso.balsangplus.net/wp-login.php)


  2. Daniel Bachhuber
    Hand Built
    Plugin Contributor

    Posted 3 years ago #

    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' );

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Safe Redirect Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.