Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Alberto Hornero

    (@hornero)

    Hi nsid, if you update (re-save) the page/post which contains that shortcode the URLs will be updated.

    Alberto.

    Thread Starter nsid

    (@nsid)

    Thanks, it worked, great plugin bytheway,
    5 star on the way for providing quick support

    Hi, I’m facing the same problem . But I do not understand the solution. Excuse me for my incompetence .
    I do not know how to do.
    Thank you for your help.
    sorry if my English is not very good I am french.

    Plugin Author Alberto Hornero

    (@hornero)

    Just re-save (save again) the post or page which contains the [clean-login] shortcode. That’s all!

    Alberto.

    Ok thanks but my problem is this. In my site, I have allowed only the comments for connected users. So for a visitor when he wants to post a comment you must click on the link ” you must be logged in to write a comment .” This link connects me wordpress registration and connection , not CleanLogin .
    Thank you very much in advance for your help if you have a solution.

    @dadoux13, try adding this to your (child) theme’s functions.php file, or as an mu-plugin:

    add_filter( 'login_url', 'my_login_page', 10, 3 );
    function my_login_page( $login_url, $redirect, $force_reauth ) {
        return home_url( '/my-login-page/?redirect_to=' . $redirect );
    }

    You can change my-login-page to the slug of wherever you have placed Clean Login’s login form.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Login page is redirecting to wp-login.php’ is closed to new replies.