Forums

feature request: exclude cached search requests (2 posts)

  1. podictionary
    Member
    Posted 4 years ago #

    I use wp-cache. When someone uses the sidebar widget search it produces a page mysite.com/?s=searchterm that gets saved in the sitemap. I'd like a way to exclude these.

  2. podictionary
    Member
    Posted 4 years ago #

    Answer: in the wp-cache plugin control panel (heading "WP-Cache Manager") the 2nd field is marked "Add here strings (not a filename) that forces a page not to be cached..."

    This by default contains

    wp-

    to stop WP-Cache from caching search results then add the following to that field

    ?s=

Topic Closed

This topic has been closed to new replies.

About this Topic