3.1releasedURL Router
Regex and Simplified Parameter based URL re-routing
Clone URLhttps://github.com/symphonists/url_router.git
Add as a submodulegit submodule add https://github.com/symphonists/url_router.git extensions/url_router --recursive
Compatibility
2.x.x | 2.1.x | 2.2.x | 2.3.x | 2.4.x | 2.5.x | 2.6.x | 2.7.0 | 2.7.1 | 2.7.2 | 2.7.3 | 2.7.4 | 2.7.5 | 2.7.6 | 2.7.7 | 2.7.8 | 2.7.9 | 2.7.10 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
No | No | 1.3 | 2.0.3 | 3.1 | 3.1 | No | No | No | No | No | No | No | No | No | No | No | No. Soon? |
Readme
URL Router
Installation
Upload the
/url_router
into your Symphony/extensions
folder.Enable it by selecting "URL Router" on the "System -> Extensions" page, choosing "Enable" from the with-selected menu, and clicking "Apply".
Once installed, under the preferences page, you can choose between adding a Redirect or a Route in the URL Router section.
About
Route
A Route silently shows the content under the original URL.
Redirect
A Redirect which will actually redirect the user to the new URL you specify.
Version history
Symphony 2.4 to 2.5.x
- #20 Fix routing on Symphony 2.4+
- Use
PageManager
instead of internal functions - Ensure routes are returned when GET parameters are omitted
Symphony 2.3 only
- Bug fix for adding querystring parameters to the GET array, unless external
Symphony 2.3 only
- Bug fix for localized backends not showing navigation menu item
Symphony 2.3 only
- Bug fix for Symphony hosted in a subfolder. Thanks Nils Hoerrmann.
Requires Symphony 2.3
- Major release includes updates for 2.3
- Moved Routes onto separate page under Blueprints (Nils Werner, John Porter)
- Removed the update functionality as is a breaking release
Requires Symphony 2.2
- Rails-like routing. You may now use a syntax similar to
page-name/:user/projects/:project
for matching and reference each parameter by its name:/new-page-name/:user/:project
Requires Symphony 2.2
- Updates to add inline help to the Routes/Redirects in the preferences page.
- Core code change to wrap the routes and redirects in checks for stability, and to allow more control.
- Incorporate Root Page Params methods. Allows all 'index' page type parameters to be accessible from the root, as they should be.
- Add forcing of routing if page to route from exists.
Requires Symphony 2.2
Requires Symphony 2.2
- Removed the global option to redirect routes.
- Changed the duplicator templates to allow either Routes or Redirects, instead of the global choice.
- Added updating logic.
- Added prevention of routing if the code is updated, but the extension reference in Symphony isn't. This is due to the functionality changing, and will prevent errors.
Requires Symphony 2.2
Requires Symphony 2.2
- Bug fix to remove rogue query I forgot to remove, thanks Vlad Ghita for spotting that one
Requires Symphony 2.2
- Update as Symphony Team takes ownership.
- Renamed extension class and folder to url_router.
- Manually merged @nickdunn's changes.
Requires Symphony 2.2
- Symphony 2.2 compatiability update
Requires Symphony 2.0.7
- Applied patches from pull requests to fix various issues including save failure when no redirects entered and pass-by-reference warning
Requires Symphony 2.0.7
- Remove
router.js
as it's no longer needed - Fix error in save logic, no longer tries to write to
config.php
Requires Symphony 2.0.7
- Only add
router.js
to the/system/preferences/
page (was breaking other JS) - Updated README with correct installation details
Requires Symphony 2.0.7
- Initial release, brief documentation forthcoming.