Hey Netlify folks!
I’m having a weird issue where a redirect like example 1 below works… but example 2 doesn’t.
The only difference I see is defining the query params. And I kinda need it to work WITH them due to marketing tags, app use etc.
/join/signup https://other-domain.netlify.app/new-checkout/pay 301!
/join/signup payMode=:payMode _ga=:_ga itm_source=:itm_source itm_campaign=:itm_campaign itm_medium=:itm_medium itm_content=:itm_content itm_term=:itm_term https://other-domain.netlify.app/new-checkout/pay?payMode=:payMode&_ga=:_ga&itm_source=:itm_source&itm_campaign=:itm_campaign&itm_medium=:itm_medium&itm_content=:itm_content&itm_term=:itm_term 301!
Any idea what I can do?
PS: all redirect rules pass the Netlify rule checker
hi there, before we dig in, could you look through this comprehensive Support Guide and see if it contains relevant info for you?
updated in September 2021
You’ve put blood, sweat and tears in to building an incredible static site with all the bells and whistles. However, you’ve configured some redirect rules and you’ve come unstuck… they don’t appear to be working!
Ensure you’ve followed the correct guidance
Our redirects and rewrites document covers a broad range of use cases, from status codes to proxying another service and everything in between.
Ensure you’re using the correct syntax
It’s important …
@perry That’s a cool guide, ty!
But I’ve already checked these things that are relevant to me:
I’ve looked at the Netlify console for the site in question, no errors on the deployment of the redirect rules, number of total rules processed/deployed was correct!
I’ve ensured my syntax is correct by using the Netlify Redirects playground as I’ve mentioned already (
Can you try and remove all of the spaces (except 1) between