We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22288
    • 2 Posts
    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
      • 27708 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
        • 22288
        • 2 Posts
        awesome thanks! that’s what i was looking for..