F

FirstChildRedirect

Redirects a page to its first published child resource.

By Mark Hamstra (markh)


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)

Mark Hamstra

Support


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+
More

Information

Released
February 7, 2020
Supported Versions
2.5 – Current
Downloads
23,213
License
GPLv2

Previous Versions

2.3.0-pl
June 3, 2011
2.0 – Current
2.3.0-rc
May 19, 2011
2.0 – 2.1
2.2.0-pl
March 19, 2010
2.0 – Current
2.2.0-beta2
November 5, 2009
2.0 – Current
2.2.0-beta1
May 21, 2009
2.0 – Current
More

More from Mark Hamstra

VersionX

Keeps track of your content and elements.

View
SiteDashClient

Powerful MODX monitoring and remote management.

View
ClientConfig

Manage client and theme settings from a comfortable interface.

View
C
CSRF Helper

Secures your FormIt and Login forms with CSRF tokens.

View