Matrix Version: v5.4.5.1
I have some pages which are used to create a folder structure for other pages. They don’t have anything on them and I would like to make it so if anyone tries to go to those pages directly, they are redirected to the homepage, while the proper pages which are children of them are unchanged.
They are currently Standard Pages.
What is the recommended method for redirecting those pages?
- I have tried just adding a javascript redirect, but that doesn’t happen until the page is already loaded.
- I have considered adding a redirect page and moving all the children over to that, but it seems kind of risky and disruptive when I don’t know if it will work.
- I looked at remapping, but it looks like you can only map to not away from. Can I remap on my target page instead?
I’m hoping there is somewhere I can do an equivalent of a mod_rewrite. I feel like there must be a simple answer to this one and I’m just not seeing it.
Thanks!