-
I have two redirects
1.- ^a-page\/([^\/]+(\/)?)(.*) <- Regular Expresion type -> Redirects to: https://example.com/result-page-1
2.- ^a-page/my-page-1(.*) <- Regular Expresion type -> Redirects to: https://example.com/result-page-2If I go to this page:
https://example.com/a-page/my-page-1/
It gets redirected to https://example.com/result-page-1
But the expected behaviour is redirecting to https://example.com/result-page-2
If I had this in the .htaccess file I would have the second rule over the first, so it will trigger with more priority… but here I can’t figure out how to order the redirect patterns.
Any solutions?
The ticket ‘Redirection order’ is closed to new replies.