WP Search bleeding blocked content
-
Hello,
The search functionality is causing me a bit of a headache. I’ve blocked most of my site, but the search function is ignoring the status of the page/post and showing an excerpt of blocked content anyway. For instance if I search for information on a restricted page it shows me this:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec ut lorem sed nisl congue pulvinar. In mattis lacus tortor. Nam augue ipsum, faucibus at pulvinar ac, tempor ac ligula. Duis gravida erat sit amet …… Read More
If I click on the “Read More” link, the page is blocked which is correct, but it shouldn’t show the public this information.
Auto Excerpt is not ticked in the wp-settings. If I enable it and set this to a low number, it does limit what the search facility returns, but I want it to return ALL unblocked content and NONE of the blocked content.
What are my options?
Thanks,
Craig.
- The topic ‘WP Search bleeding blocked content’ is closed to new replies.