Now supports MODX 2 and 3. Use FirstChildRedirect for section pages that you want to redirect to the first child.
This snippet redirects a page to its first child element based on menuindex, but is configurable. [Find the documentation here.](https://docs.modx.com/current/en/extras/firstchildredirect) for more specific information on how to customize this snippet.
[Please report bugs and feature requests on Github.](https://github.com/Mark-H/FirstChildRedirect)
New in FirstChildRedirect 2.4.0
- Simplify internal logic for response code shortcuts
- Code style reformat, now requiring at least PHP 5.4 (but really, use 7.1+)
- Confirmed compatibility with MODX3 alpha2+