• Resolved fedorkap

    (@fedorkap)


    Does the plugin have options for specifying a list of GET parameters, when they enter the line, caching would be disabled (GET parameters cache rules). For instance:

    The list of allowed parameters for redirecting to a cached page without these parameters:
    & utm_medium;
    & utm_source;
    & utm_compaign;

    The list of parameters when they enter the link creates a separate cache:

    & dynamic_title;
    & etc.

    DOES NOT WORK (that is, a redirect to the cached base page without parameters occurs):
    https://example-site.com/?utm_source=yandex&utm_medium=cpc&utm_campaign={campaign_idasket&utm_content={ad_idasket&utm_term={keyword}

    But, if my parameter is contained in the link, then caching worked only for this parameter. For example, with a parameter of dynamic data sent through a GET parameter from an advertisement. Example:

    WORKS for GET parameter “dynamic_title” (separate cache):
    https://example-site.com/?utm_source=yandex&utm_medium=cpc&utm_campaign={campaign_idasket&utm_content={ad_idasket&utm_term={keyword}&dynamic_title=”I am dynamic title of this website ”

    If one of the forbidden parameters is added, another cache page with two parameters is created.

    • This topic was modified 4 years, 6 months ago by fedorkap.
    • This topic was modified 4 years, 6 months ago by fedorkap.
    • This topic was modified 4 years, 6 months ago by fedorkap.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Ante Laca

    (@alaca)

    Hi @fedorkap

    Does the plugin have options for specifying a list of GET parameters, when they enter the line, caching would be disabled (GET parameters cache rules).

    Yes, you should add something like this in “Exclude URL(s) from cache” section on the Cache page.

    
    utm_source=yandex&utm_medium=cpc&utm_campaign={any}&utm_content={any}&utm_term={any}

    This should prevent WPP to cache that page

Viewing 1 replies (of 1 total)
  • The topic ‘GET parameters cache rules (Utm and Custom)’ is closed to new replies.