Open jamiematrix opened 2 years ago
I'm running into a similar issue. I have some routes defined in the admin, as well as some 301 redirects for urls matching those routes that no longer exist. However, the redirects don't work for those urls, and I'm always sent to the routed url.
It seems like Craft is matching to the configured route as higher priority than the redirects.
Is there a work around for this?
Am I right in thinking if I have some custom routes in
routes.php
then that functionality takes over any redirects set?If that's true, is there a way round? Or is it possible to use the specified template in
routes.php
to lookup the redirects and redirect accordingly?