• Resolved kamoe

    (@kamoe)


    After user login user will arrive at the wordpress user profile page. So user will be confused about where to edit / posts ads. I should use a redirect plugin to solve this or does the plugin have some other method to solve this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    It depends on how does the login link look like, for example on the WPAdvert Demo https://demo.wpadverts.com/lite/adverts/add/ if you click “Sign In” link and login you will go back to the page with [adverts_add].

    This is because the login link has the following URL

    
    https://demo.wpadverts.com/lite/wp-login.php?redirect_to=https://demo.wpadverts.com/lite/adverts/add/
    

    The redirect_to param informs WP where to redirect user after login. If you add it to your login link as well then the user will be redirected correctly.

    If you already have the redirect_to param in the URL but user still goes to wp-admin panel then it is possible you have some plugin installed which force redirects user to the admin panel, you can try looking for such plugin and disabling it.

    Thread Starter kamoe

    (@kamoe)

    Thanks! I disabled the plugin I used for this and fixed it with the login link as in your example.

    Plugin Author Greg Winiarski

    (@gwin)

    Ok great ?? i am marking this thread as resolved then.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Redirect after login’ is closed to new replies.