1. What about redirecting based on user roles?

    Let’s say you want those with the user role “Author” and above to be redirected to the backend while “Subscribers” should be redirected to the home page?

    • you need a plugin for that you will get that plugin from there

    • Thanks, with this little tweak my site is totally user friendly.

      I have on my site links to differing parts based on user roles. So my subscribers just get access to their profile, and myself acess to the dashboard etc. The links are not visable till the person is logged in.

      The code is such:
      = 1 ) : ?>
      <a href="/wp-admin/”>Dashboard
      <a href="/wp-admin/post-new.php”>Submit post
      = 1 ?>
      <a href="/wp-admin/profile.php”>Profile
      <a href="” title=”Logout”>Logout

  2. I was also wondering if it is possible that after someone logs into wordpress it just goes to the page before they logged in. So whatever page they were on before they went to the login page, they would go back to that.

    Very useful though. My only reason is using the multisite, some people are so deep in their blogs it would be annoying to have them start at the main page again.

  3. Thanks, I just copied and pasted it, it was that easy. Plus it’s upgrade proof too. Saved me quite a bit of hassle, cheers.

  4. This only works in the case of a /wp-admin login and not for a front-end form or am i missing something?

  5. Perfectly, the particular submit can be a most up to date topic
    on this windows registry linked problem. I personally
    remain in a person’s a conclusion and will thirstily look forward to your current returning messages. Only announcing thank you won’t be adequate,
    for that unparalleled lucidity in the composing.
    I’ll right away take hold of a person’s feed to remain abreast of any kind of improvements.

  6. What if I brought in a user from a different website (sister site) and wanted them to login via wordpress, then be redirected depending on a variable, like this:

    How do I do this?