Support » Plugins » [Plugin: WP Super Cache] Mixed permalinks with query strings error

  • I have wordpress running with ‘fancy_permalink’ enabled and wp-super-cache is running fine. The problem I am having is when I append a query string onto some of the urls specifically in this case tdo tags fixes plugin.

    Eg. Normal URL is
    * http://travel.accommodationsphere.com/earth/south-africa/
    Eg. With query string is
    * http://travel.accommodationsphere.com/earth/south-africa/?tdo_tag=nature-reserve

    THe problem is that when cache is enabled it doesn’t matter what query string gets stuck on it still serves the same cached page.

    Is there a setting I can change in .htaccess that will allow caching of the url with the query string?

    Eg. …/wp-content/cache/supercache/travel.accommodationsphere.com/earth/south-africa/tdo_tag=nature-reserve/index.html

    OR

    Eg. …/wp-content/cache/supercache/travel.accommodationsphere.com/earth/south-africa/index.html?tdo_tag=nature-reserve

    Your assistance is appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Try adding this RewriteCond to the others. You’ll need to add it twice, once in each block of code:

    RewriteCond %{QUERY_STRING} !.*=.*

    Does that help?

    Hey Thanks!

    Works out great, I’ll ultimately have to mod tdo_tags to use pretty permalinks to get the use of caching but for now this is perfect.

    Dyasonhat

    The latest version of the plugin has this rewrite rule included by default.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP Super Cache] Mixed permalinks with query strings error’ is closed to new replies.