Hello!
I realised I have a typo in my CMS collection slug. How do I set up a 301 redirect so that all template pages are redirected with it? There are many CMS items so redirecting them all manually isn’t ideal.
So far I tried:
/oldslug → /newslug
/oldslug/(.*) → /newslug/%1
with no success. Any help is appreciated!
Unfortunately, that didn’t work either and is also not an ideal solution when having multiple domains. On top of it, it now got stuck on one of my older attempts, and is still redirecting according to that new attempt. I did change the redirects in settings, saved and published multiple times.
Could you please confirm if the
/oldslug/(.*) → /newslug/%1
is this correct formatting for what I’m trying to achieve? If so, I don’t understand why it’s not working.
Unfortunately, that didn’t work either and is also not an ideal solution when having multiple domains. On top of it, it now got stuck on one of my older attempts, and is still redirecting according to that new attempt. I did change the redirects in settings, saved and published multiple times.
Could you please confirm if the
/plasn/(.*) → /plans/%1
is this correct formatting for what I’m trying to achieve? If so, I don’t understand why it’s not working.
Yaay , glad you both got it working @Radka and @mww
I was a bit confused about the correlation between (.*) and %1 which I saw you both used in setting up the redirects and wanted to drop this explanation by Webflow of what they do for anyone else who’s curious
Also please be careful about incorrect advice- /* and /:splat are not supported in Webflow, you’re probably thinking of Azure or Netlify redirect conventions?