Wildcard 301 redirect not working

Hi Webflow community,

I’m having an issue with a wildcard redirect that isn’t functioning as expected. Here’s my setup:

  • Old path: /role/*
  • New path: https://www.sustainabilityjobs.co/job-collections
  • Type: 301 redirect

The issue: When I test URLs like https://www.sustainabilityjobs.co/role/ehs-coordinator, they’re not redirecting to the job-collections page.

What I’ve tried:

  • Verified there are no conflicting redirect rules
  • Removed and re-added the redirect
  • Tested in incognito mode
  • Waited for CDN cache to clear

Has anyone encountered this issue before? Is there a specific syntax I should be using for wildcard redirects in Webflow?

Thanks

Hi Suny,

That’s not a valid redirect, you’ll want to look at the documentation to see how wildcard redirects are formed.

There’s a fair bit to know, but part of the problem is that * is not a wildcard matching pattern. You probably want /role/(.*)

1 Like

@memetican Thank you so much…this is working…!!!