WP Super Cache
Ignore query parameters when caching (2 posts)

  1. jools73
    Posted 2 years ago #

    Is it possible for WP Super Cache to ignore URL parameters when caching?

    I have 2 scenarios where I would like this...

    1) UTM and tracking codes automatically placed on URL's. I'd like the same page to be served in these scenarios, so...

    http://www.oasport.com and http://www.oasport.com/?utm=123456 are served the same page, rather than have to create a new cached version each time

    2) Search page - I'm using Google custom search on my search pages, rather than the built in WordPress search. GSE injects the content using JavaScript, so I just want the base page cached and the query parameters ignored, so...

    http://www.oasport.com/search/?q=mysearchterm and
    http://www.oasport.com/search/?q=hissearchterm serve up the same cached file



  2. lkraav
    Posted 2 years ago #

    +1 I'm also looking to do the same thing. Query parameters could safely be ignore for a page.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Super Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.