Comments on: How to Force a Login Before Visitors Access WordPress and Why https://www.greengeeks.com/tutorials/force-login-before-visitors-access-wordpress/ How-to Website Tutorials Thu, 08 Dec 2022 18:49:40 +0000 hourly 1 https://wordpress.org/?v=6.3.1 By: Michael Brockbank https://www.greengeeks.com/tutorials/force-login-before-visitors-access-wordpress/#comment-120949 Thu, 08 Dec 2022 18:49:40 +0000 https://www.greengeeks.com/tutorials/?post_type=ht_kb&p=35291#comment-120949 In reply to SN.

I would try adding the URL to the whitelist using the first “/” immediately after “.com,” or whatever domain extension you’re using. In your example URL, that would be “/members/username/profile/”

I’m not sure if perhaps BuddyPress is squicking the ability outright. You might have to ask them on the WordPress.org forums. Most developers are pretty quick to respond in cases like this.

]]>
By: SN https://www.greengeeks.com/tutorials/force-login-before-visitors-access-wordpress/#comment-120948 Wed, 07 Dec 2022 10:30:33 +0000 https://www.greengeeks.com/tutorials/?post_type=ht_kb&p=35291#comment-120948 In reply to SN.

FYI I am trying to make my BuddyPress profile page public, while the rest as private. Thanks.

]]>
By: SN https://www.greengeeks.com/tutorials/force-login-before-visitors-access-wordpress/#comment-120947 Wed, 07 Dec 2022 10:28:47 +0000 https://www.greengeeks.com/tutorials/?post_type=ht_kb&p=35291#comment-120947 Thank you for sharing.

I was wondering how can I modify your Whitelist URLs snippet to accept https://example.com/members/username/profile/

I tried with very little success. Seems that it could only accept one URL at the time without wildcards.

Thanks in advance

]]>
By: Michael Brockbank https://www.greengeeks.com/tutorials/force-login-before-visitors-access-wordpress/#comment-120812 Tue, 18 Oct 2022 16:09:32 +0000 https://www.greengeeks.com/tutorials/?post_type=ht_kb&p=35291#comment-120812 In reply to mohamad.

You’re welcome.

]]>
By: Michael Brockbank https://www.greengeeks.com/tutorials/force-login-before-visitors-access-wordpress/#comment-120672 Thu, 15 Sep 2022 16:19:38 +0000 https://www.greengeeks.com/tutorials/?post_type=ht_kb&p=35291#comment-120672 In reply to Sarah.

Hello Sarah, I had to remove old coding from a plugin we don’t use today. Try the snippet now and see if that helps.

]]>
By: Sarah https://www.greengeeks.com/tutorials/force-login-before-visitors-access-wordpress/#comment-120506 Mon, 01 Aug 2022 19:00:42 +0000 https://www.greengeeks.com/tutorials/?post_type=ht_kb&p=35291#comment-120506 The redirects on this post all don’t work, they error and won’t save.

]]>
By: mohamad https://www.greengeeks.com/tutorials/force-login-before-visitors-access-wordpress/#comment-120183 Thu, 05 May 2022 20:40:48 +0000 https://www.greengeeks.com/tutorials/?post_type=ht_kb&p=35291#comment-120183 thank you that helped us a lot

]]>