Streaming live at 10am (PST)

404 error with 301 redirects

Hi there.
I apologise in advance if this question has already been answered, but I wasn’t able to find an answer.

I have a collection named “categories” which sits under the home url and I want to redirect all of its items to a different location.

I managed to add a 301 redirect like this:

/categories/(.*)/folder1/folder2/%1

The redirect is working fine, in fact when I try to go to a category page like for example

mydomain/categories/something becomes mydomain/folder1/folder2/something

The problem is that I land on a 404 page… Is there something I’m missing?

Edit:
I ended up renaming my collections in a way that made more sense from a user’s perspective, and completely avoiding the redirect route.

Here’s a link to the published site: final product


Here is my site Read-Only: I removed it
(how to share your site Read-Only link)

As far as I know Webflow does not support redirects using category slug paths. They are reserved. So a 404 would be expected, no?

You mean that every collection item is bound to its slug path and redirecting it would not work? So in theory I could redirect an unrelated page to the collection folder but not vice versa.

Ideally I would like to be able to set a collection’s url like this “folder/collection” but as of right now this would be changed automatically to “folder-collection”.

But I’m not sure if this is possible…