Prioritizing Specific Redirects Over Broader Wildcard Redirects

Hey everyone,

We’re trying to set up two redirect rules:

  • /blog/bible-verses-about-(.*) → /bible-verses/%1
  • /blog/(.*) → /prayers/%1

According to support, redirect rules are processed top-to-bottom, and only the first matching rule is applied. They suggested uploading the specific redirect via CSV, and then manually adding the broader one via the UI to make sure the broader one is placed after, but that didn’t work.

We’ve tried:

  • Uploading only the specific rule, then manually adding the broader one. Broad rule takes precedence.
  • Manually adding the broad one first, then the specific, still not working.
  • The reverse of the above, also not working.

Support suggested breaking the broader rule into more targeted ones, or using a reverse proxy solution. We’d love to avoid that complexity if possible. Also, webflow doesn’t support a wildcard rule using “!” to target the other set of urls.

Has anyone successfully prioritized a specific redirect over a wildcard one? Or figured out a workaround to this limitation?

Appreciate any help or ideas!

Your first redirect looks incorrect to me- double check the docs but I think those hyphens have to be encoded, e.g.

/blog/bible%-verses%-about%-(.*)

But also, the handling of the (.*) is typically meant to be a full segment, such as a path part, or a querystring param value.

You’re using it as a generic wildcard within a path segment, which might work but I’ve not seen it used that way.