MODX EXTRA

FirstChildRedirect

Redirects a page to its first published child resource.

Creator: Jason Coward (opengeek)
Updated By: markh

2.4.0-pl (19 KB) Other Versions

About FirstChildRedirect

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)

Information

Released
February 7, 2020
Supported Versions
2.5 – Current
Downloads
24,227
License
GPLv2

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

Current Releases

2.4.0-pl
February 7, 2020
2.5 – Current
2.3.1-pl
December 29, 2011
2.0 – Current
More
View Deprecated Releases

More from Jason Coward

ge

getResources

getResources is a general-purpose listing and summarization snippet…

QC

QuickCrumbs

A quick and efficient bread crumbs Snippet for MODx Revolution that…

mo

modCipher

A MODx Revolution Core Extension, the modCipher service class provides…

ge

getCollection

A set of MODX Revolution snippets for retrieving, storing, and rendering…