Viewing 1 replies (of 1 total)
  • Plugin Author Dutch van Andel

    (@veraxus)

    There’s a simple trick that can be used in vanilla WordPress to do exactly this.

    Simply add a ?redirect_to=%2F querystring variable to your login links and users will be automatically be redirected to the homepage when they log in.

    Example (put this in your href):

    https://example.com/wp-login.php?redirect_to=%2F
    

    Note: %2F is the url-encoded version of / (forward-slash). If you have bigger urls, you can encode them with online tools like this.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Page Security by Contexture] Controlling redirect upon login’ is closed to new replies.