I just recently enabled friendly URLs and i created a container called Products which under i want to have the product pages. How do I make it so www.domain.com/products/ is not accessible at all or goes to one of the pages under Products that i specify by default?
I’m running 1.0.2 btw..
Thanks for any help!
Chris
-
MODX Staff
- 2,502 Posts
There is an addon called First Child Redirect which is included w/ Evo by default. You simply insert the snippet call into the parent. In your case the /products/ document and the first document will be the one it will see. The instructions are in the snippet code itself inside Elements>Snippets.
Cheers,
Jay
Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup
magician.
Blog ✦
Twitter ✦
LinkedIn ✦
GitHub
awesome thanks! that’s what i was looking for..