• Resolved darrenc66

    (@darrenc66)


    I have 3 regex redirects for different versions of AMP. For “^/(.*?)/amp$” and “^/(.*?)/amp/$” the target url is only /$/

    For “^/(.*?)/\?wpamp$” the targer url is https://www.mysite.com/$

    I just noticed, is it a problem?

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

    (@johnny5)

    Do the redirects work in the way you want? If so there is no problem.

    Thread Starter darrenc66

    (@darrenc66)

    They appear to when testing but in the Redirection log I see things such as Source URL my-post/amp/?wpamp results in Target URL https://www.mysite.com/a-post/amp

    And in some cases Source my-post/?wpamp results in Target my-post without the trailing slash.

    Plugin Author John Godley

    (@johnny5)

    I’m not really sure what you are describing.

    You have listed redirects that go to a URL with a trailing slash and without a trailing slash. I can’t say what is right for your website, but you can modify them if you need them to be consistent.

    Thread Starter darrenc66

    (@darrenc66)

    Many thanks John.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.