Search Results Yield Draft Posts
-
Hello,
We recently discovered that when Subscribers/members of our site do a search on the frontend, the search results include posts that are drafts (i.e., not published)—that shouldn’t be happening. However, when you actually click on the draft post in the search result, you get a “Page not found” error page. In conjunction with Relevanssi, we’re using a premium plugin called, “Restrict Content Pro” which is a membership plugin that restricts content of the site based on the visitor’s membership level.
We currently have three drafts on the site. They all have the same Restrict Content Pro settings, just like the published posts—and of course, they all have the same Relevanssi settings since they’re global.
Here are some screenshots:
? https://ibb.co/JF90SCR
? https://ibb.co/pZrNzj9We don’t know when this issue started but we know for sure that it wasn’t always like this. We’ve had the site setup in this way with Relevanssi and Restrict Content Pro since 2015.
For troubleshooting, we’ve tried deactivating all other plugins except Relevanssi and Restrict Content Pro and also setting the theme to a default WordPress theme. Even with this, the issue still occurs. However, we’ve noticed that if we disable one plugin or the other (Relevanssi or Restrict Content Pro), then the draft posts don’t show up in the search results.
Do you have any suggestions for troubleshooting and fixing this issue?
Thank you,
Nicolas from Living MiraclesThe page I need help with: [log in to see the link]
- The topic ‘Search Results Yield Draft Posts’ is closed to new replies.