Restrict searching
-
Hello,
Thanks for the great plugin! I have installed Membership 2 for a members-only website and have the pages and menu items that I want members-only to access working fine.I am hoping to restrict searching. Right now when not logged-in and I perform a search with https://webaddress.com/?s=searchterm I am given search result excerpts. If I click on Read more.. I get the appropriate Protected Content message however, I would prefer to disallow searching completely – unless you are logged in.
I’ve tried using URL groups to no avail but I am not confident I am doing it properly. I’ve tried the following in URL groups:
https://webaddress.com/?s=(.*) with Strip query and Regular expressions set to Yes.
https://webaddress.com/?s=* with Strip query set to Yes and Regular expressions set to No.Is this possible to restrict searching?
Any help on this is appreciated.
Thanks in advance,
Erle
- The topic ‘Restrict searching’ is closed to new replies.