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
becomesmydomain/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)