WordPress.org

Ready to get started?Download WordPress

Forums

BuddyPress Private Community
[resolved] Failing to pass through redirects. (2 posts)

  1. Martyn_
    Member
    Posted 1 year ago #

    My site is set up as private by default, and a redirect to /hello where a user can login via the sidebar.

    If a not logged in user visits https://mysite.com they get redirected to https://mysite.com/hello/?bp_pc_redir_to=%2F They can login and continue to https://mysite.com - now logged in. Thats fine.

    However; If a not logged in user visits https://mysite.com/private-page they get redirected to https://mysite.com/hello//?bp_pc_redir_to=%2Fprivate-page They can login, but the bp_pc_redir refernce is not followed and they get dumped at the front door.

    It appears that $_GET[$REDIRECT_QUERY_NAME] does not return anything at the start of restrict_access() At this point even $_SERVER['REQUEST_URI'] returns / which presumably means that some other component is redirecting on login before the plugin is called after login - but what??? How can I trace this?

    http://wordpress.org/plugins/buddypress-private-community/

  2. Martyn_
    Member
    Posted 1 year ago #

    This seems to be an issue with my theme...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.