• Resolved wpguillaume

    (@wpguillaume)


    Hello,

    I’ve set up the AIOWPS option to modify the original <mysiteurl>/wp-login.php to <mysiteurl>/customloginurl.

    How can I still use the “redirect_to” arg?

    My use case is to notify editors by email that a post is pending, and to allow them to click a single link in this email, that would take them to the login screen, and to the post editor after login.

    Something along the lines of:

    <mysiteurl>/customloginurl?redirect_to=<mysiteurl>/wp-admin/post.php?post=<post_id>&action=edit

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support hjogiupdraftplus

    (@hjogiupdraftplus)

    Hi @wpguillaume

    redirect_to should work as argument but it will redirect to wp-admin/edit.php as the default functionality with wp-login.php also according to me.

    Do you have before ( installing AIOS) is that functional redirect to post edit page?

    Thread Starter wpguillaume

    (@wpguillaume)

    Hi @hjogiupdraftplus,

    Sorry, it actually works, I might have tried before without encoding the redirect URL properly.

    Thank you, problem solved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Using “redirect_to” argument with custom login URL’ is closed to new replies.