• Resolved pepe80

    (@pepe80)


    The page gets into a redirect loop when there is a duplicate parameter in the URL. Here’s how to trigger the error:
    1. Clear cache.
    2. Go to: https://mydomain.com/?utm_source=1&utm_source=2
    3. Page gets into redirect loop 301
    4. Close the browser, open again and go to: https://mydomain.com
    5. Page gets into redirect loop 301 -> https://mydomain.com/?utm_source=2
    6. Clear cache to resolve the problem.

    The problem occurs only for these parameters from .htaccess:

    ### marker DROPQS start ###
    CacheKeyModify -qs:fbclid
    CacheKeyModify -qs:gclid
    CacheKeyModify -qs:utm*
    CacheKeyModify -qs:_ga
    ### marker DROPQS end ###

    I found the error because someone added the wrong marketing campaign and users are coming to me from addresses like:

    https://mydomain.com/?utm_source=Google&utm_medium=CPC&utm_source=google&utm_medium=cpc

    This causes the page to loop for all users until I clear the cache.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support qtwrk

    (@qtwrk)

    please provide the report number

    you can get it in toolbox -> report -> click “send to LiteSpeed”

    Thread Starter pepe80

    (@pepe80)

    @qtwrk I can’t send the raport. When I click “Send to LiteSpeed” I get a message:

    Failed to request via WordPress: [server] https://api.quic.cloud [service] wp/report

    Supplemental information:

    The mechanism of redirecting the page when there are double parameters in the URL comes from WordPress and has nothing to do with the LiteSpeed plugin. Try entering the address on a page with LiteSpeed disabled:
    https://mydomain.com/?utm_source=1&utm_source=2
    As a result, WordPress will redirect you (301) to the page:
    https://mydomain.com/?utm_source=2
    However, when LiteSpeed is enabled, there is a redirect loop.

    Plugin Support qtwrk

    (@qtwrk)

    this is interesting issue

    please create a ticket by mail to support at litespeedtech.com with reference link to this topic

    we will investigate further.

    Thread Starter pepe80

    (@pepe80)

    I sent an email. Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Duplicate URL parameters and redirect loop’ is closed to new replies.