CustomRequest Icon

CustomRequest

Use friendly URLs everywhere in the frontend

By Thomas Jakobi (jako)

CustomRequest first screenshot

CustomRequest is an effective routing plugin for MODX Revolution to map pretty but not found URLs to a MODX resource and set the request parameters by separating the URI path at the URI separators or by a regular expression.

As standard option the first characters of the not found URI will be compared with the alias value of each config entry. If found, this config entry is used. The alias path is stripped from the not found URI and the remaining string is used to set the request parameters.

As a second option, the alias value of a config entry could contain a valid regular expression and the not found URI will be matched with that expression. If matched, this config entry is used. The first subpattern part of the expression is stripped from the found pattern and the remaining string is used to identify the resource where the user is forwarded to later. At least the found pattern is removed from the not found URI and the remaining string is used to set the request parameters.

For full details and some example configurations see the documentation.

Thomas Jakobi

Support


New in CustomRequest 1.3.2

  • Edit CustomRequest system settings in the custom manager page
  • Use $REQUEST variable instead of $SERVER variable to avoid subfolder installation issues
  • Retrieve $requestUri only during OnPageNotFound
More

Information

Released
March 20, 2019
Supported Versions
2.6 – Current
Downloads
4,807
License
GPLv2

Previous Versions

1.3.1-pl
November 13, 2018
2.6 – Current
1.3.0-pl
July 6, 2018
2.6 – Current
1.2.6-pl
June 13, 2016
2.3 – Current
1.2.5-pl
May 19, 2016
2.3 – Current
1.2.4-pl
February 4, 2016
2.3 – Current
1.2.3-pl
January 27, 2016
2.3 – Current
1.2.2-pl
January 19, 2016
2.3 – Current
1.2.1-pl
January 13, 2016
2.3 – Current
1.2.0-pl
January 11, 2016
2.3 – Current
1.1.4-pl
September 10, 2015
2.2 – Current
1.1.3-pl
April 18, 2015
2.2 – Current
1.1.2-pl
March 10, 2015
2.2 – Current
1.1.1-pl
March 3, 2015
2.2 – Current
1.0.3-pl
January 29, 2015
2.2 – Current
1.0.2-pl
May 27, 2014
2.2 – Current
1.0.1-pl
October 27, 2013
2.2 – Current
1.0.0-pl
June 9, 2013
2.2 – Current
More

More from Thomas Jakobi

R
RememberThis

Session based remembering solution

View
SuperBoxSelect

Advanced Listbox/Resource List template variable

View
L
LangRouter

Language context router for use with Babel

View
DaterangeTV

Date range custom template variable

View