Skip to:
Content
Pages
Categories
Search
Top
Bottom

registered-users-only-2 – registration redirects to wp_admin

  • Hi

    Not sure if this is your issue or theirs – but I would like new members to be redirected to the site not the admin section on sign-up/in.
    Any hints? registered-users-only-2.php does seem to play well with BuddyPress.
    WP2.9.2
    BP1.2.3
    Thank you!!
    HELP…

Viewing 1 replies (of 1 total)
  • Think I found it – at least it seems to be working now!!

    To redirect to the homepage on login:

    https://codex.wordpress.org/Function_Reference/wp_login_url

    line 147 in wp-includes > general-template.php has to be changed from:
    <a href="” title=”Login”>Login

    to:
    <a href="” title=”Login”>Login

    after much trial & error I replaced (‘url’) not with the entire URL but with just the name of the folder that my BuddyPress protected blog is in – this is because my blog is not in the root folder – if yours is it may not be necessary to change anything.

    YAY… hope you can still make this easier for other users of your GREAT script… thank you Jehy!!
    It is protecting all pages and sections from prying eyes. Other scripts I tried had spotty protection – once on the registration page they let some of the tabs like members be viewable without registering or logging in…. registered-users-only2 is protecting everything.

    : )

Viewing 1 replies (of 1 total)
  • The topic ‘registered-users-only-2 – registration redirects to wp_admin’ is closed to new replies.
Skip to toolbar