Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Godley

    (@johnny5)

    How are these spammy parameters causing a problem on your site?

    You should be able to create a regular expression to match:

    https://redirection.me/support/redirect-regular-expressions/

    Thread Starter opeedo

    (@opeedo)

    I am not so inclined please can you tell me what to do

    The closest I have seen is this

    Redirect ?amp pages
    http://site.com/article/?amp=12 ⇒ http://site.com/article/
    Source
    ^/(.*?)/\?amp=.*
    Target
    /$1/

    However, I want to exclude every parameter after /?

    Plugin Author John Godley

    (@johnny5)

    You can use the support page to help guide you to create an expression that matches your particular needs. As mentioned on the page there are a lot of resources for regular expressions on the internet.

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