seo
seo copied to clipboard
Redriect not working with three + segments and a wild card
Description
I have a redirect with multiple segments with a query string at the end that isn't working.
For example I have two different redirects. the first works and the second doesn't. The first redirect works with no problem, carying over the query string and updating the url path. The second redirect doesn't work at all. I've done some testing and it seems the redirect breaks using a wild card and to many segments seperated by /
-
/fr/first/second?_ga=random-number -> /new-frist/new-second?_ga=random-number i have this written as follows in the tool fr/first/second(.*) -> /new-first/new-second$1
-
/fr/first/second/third?_ga=random-number -> /new-first/new-second/new-third?_ga= I have this written as follows in the tool fr/first/second/third(.*) -> /new-first/new-second/new-third$1
On a secondary note my wild card redirects only work if I don't add a / at the start of the url as shown above.
Additional info
- Craft version: 3.7.27.1
- SEO version: 3.7.4
- PHP version: 7.4.21
- Database driver & version: MySQL 5.7.12
- Other Plugins: