Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author simon_h

    (@simon_h)

    Hi,

    if you try to have the plugin active on both use this two rules:

    https://www.example.com/en/,
    example.com/en/?para=

    Kind Regards
    Simon

    Thread Starter vgz

    (@veganz)

    Hm, yes, or just /?

    But this is not quite comfortable because it means I have to double all the filter entries with “?” as suffix, like:

    https://example.com/en/
    example.com/en/?

    So the plugin would only be initialized on the start page with and without parameter.

    But this could work. Thanks for the input.

    Thread Starter vgz

    (@veganz)

    Ok, that does the trick. So for every full URL (with http(s)://) I do a second one without http(s):// but with ? at the end. That makes the bloats the filter list but at least it works. ??

    Plugin Author simon_h

    (@simon_h)

    Yes you need two rules for this, but I think two simple php requests (one with strpos() and one comparison with the equality operator) should be faster than a regex filter.

    A possibility (perhaps I will integrate this in a next version) should be to use the question mark as an indicator which triggers the two rules automatically.

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘URL Parameters’ is closed to new replies.