• Hi

    Would it be possible to add a setting for allowing WP super Cache to serve a supercached static html page to users eventhough the url includes GET parameters?
    Basically I would like for all pages to be supercached and served to the user eventhough GET parameters are added.
    Today if I disable “Don’t cache pages with GET parameters. (?x=y at the end of a url)” the page http://www.example.com?id=4711 will generate a unique cached php file in supercache, which again will generate another unique cached php file if the url is changed to http://www.example.com?id=4712.

    So http://www.example.com and http://www.example.com?id=4711 should both use and send the same static html page. The url parameters can the be used by javascripts and if I on any pages would need to use the url parameter in php I would add the DONOTCACHE parameter to that specific page.

    As a side note I have read the artikel at “https://odd.blog/2010/02/22/remove-unused-utmsource-urls/#comment-672813” that is refered in the FAQ, but I really do not think that is a good solution since for instance also facebook pixel and other similar tracking tools would like to add URL parameters to pages.

    Regards
    Martin

Viewing 1 replies (of 1 total)
  • Hi,

    I also have this problem. I think it is not possible to replace “?” with “#” on Facebook’s marketing campaigns, therefore the solution in the FAQs doesn’t always work.

    If I disable “Don’t cache pages with GET parameters. (?x=y at the end of a url)” I get a blank page when a page with parameters is requested. I checked the caching folder and I found a meta cache file with “<?php die(); ?>” in it.

    In my case, I would like to have an option to allow caching pages with UTM campaign parameters. These parameters are used just for campaign tracking, so the original cached URL can be used.

    Regards,
    Raul

Viewing 1 replies (of 1 total)

The topic ‘server static html for page with parameter’ is closed to new replies.