Draft articles and articles in trash showing up in search results

Posted in: Newspaper
Post count: 9

Hi

Compliments for the extensive theme and its options. I am impressed with all the functions and possibilities, but encounter a problem that I can’t seem to fix without help. I have searched the forum and tried several solutions found on the forum and by searching Google, but with no luck. We have draft articles and deleted articles showing up in the search results and I have no idea on how to fix this. Any suggestions?

Our site is running on nginx and using Varnish and Cloudflare for caching purposes. With or without Cloudflare active makes no difference. The search page with results is not cached but somehow the search engine is able to show results of pages that either have been deleted of are not yet published (drafts) or meant to be (deleted).

http://prntscr.com/a1rc9w

Regards

Wilbert

  • This topic was modified 10 years by indebuurt.
  • This topic was modified 10 years by indebuurt.
Post count: 22421

Hello,
I tested this on my end but could not recreate the issue. The search could not find any posts from drafts or from trash. Please test this yourself and create a new post. Save it as a draft and search for it. Then publish it or trash it directly and search again afterwards. My search could not return anything other than published posts.
If the search indeed returns results of deleted or draft articles it could be a plugin issue. Please disable all plugins except visual composer and clear your cache. Then try it again to see if the result is the same.
Let us know how it goes.
Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.