-
Author
-
October 6, 2017 at 16:22 #175829andreasnordengenParticipant
If people are not logged in and click on a members name, they get directed to a 404 page.
How can I relink them to the frontpage instead?
Thank you!
October 7, 2017 at 12:02 #175873LauraModeratorHello, please try this plugin https://wordpress.org/plugins/buddypress-members-only/ it should redirect them to the register page
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
October 8, 2017 at 23:12 #176064andreasnordengenParticipantDear Laura,
Sorry, it did not work as it restricted visitors to get access to certain pages other than homepage (which should be available for everybody).
I only need the visitors to get redirected to the homepage if they try to get access to a registered profile.Thank you!
October 9, 2017 at 15:30 #176110LauraModeratorHello, will assign the ticket to a higher support level who can help and advise you in your query.
Thanks! ?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
October 10, 2017 at 16:09 #176223RaduModeratorHi,
How did you have restricted the members profile ?
TRy this snippet
COPY CODEfunction sq7r_no_members_redirect_home() { if( !is_user_logged_in() && bp_is_user() ) { wp_redirect(site_url('/'), 301); exit; } } add_action('template_redirect', 'sq7r_no_members_redirect_home');
The snipept works but depend how you have restricted the members profile and to redirect to this link https://www.vicinity.no/hjem__trashed/
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 10, 2017 at 20:50 #176270andreasnordengenParticipantThank you, the code did not work, but I found out the membership levels to was set to “nothing”.
Changed this to “home” and it is ok now…Thank you again for great support, and love your theme!
October 11, 2017 at 17:34 #176344RaduModeratorHi,
You’re welcome
Leave us a review on themeforest if you have time
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.