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

  1. Martyn_
    Posted 2 years 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?


  2. Martyn_
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BuddyPress Private Community
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.