Support » Plugin: Hyper Cache » How to enable caching for pages with UTM tags?

  • w01101917

    (@w01101917)


    How to enable caching for pages with UTM tags?

    For example: site.com/?utm=123

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have not geted to cache anything with query string (url with: ?)

    Friend, I found a solution!!
    Now you can cache url with search query too

    1. Go plugin editor > Hyper Cache > advanced-cache.php
    2. Delete or comment as shown here

    /*
    if (!empty($_SERVER['QUERY_STRING'])) {
        hyper_cache_header('stop - query string');
        $cache_stop = true;
        return false;
    }
    */
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to enable caching for pages with UTM tags?’ is closed to new replies.