The Joomla! Extensions Directory ™


Simple Custom Router ComponentPlugin

The Simple Custom Router is a Joomla! extension to associate paths with internal Joomla! queries.

For example, you can associate the path "hello-world" with the query "option=com_content&view=article&id=42", so when a user types the URL "http://yourJoomla/BaseUrl/hello-world" the article with id 42 is loaded, and when the internal Joomla! URL "index.php?option=com_content&view=article&id=42" is translated to a humanly readable URL, "http://yourJoomla/BaseUrl/hello-world" will be generated.

Features:
-Paths and internal Joomla! queries can be parametrized using the PHP regular expressions syntax.
-Optional cache for the generated paths and queries.
-Manager interface to add, edit and remove the routes in the Joomla! backend.

Versions:
-Joomla! 1.7.x/2.5.x: Simple Custom Router 0.1
-Joomla! 3.x: Simple Custom Router 0.1.1

Report Extension

 

 

2013-02-06
Reviews: 6
It's been at least two years since I have rated or left comments on an extension. This is a great example of outstanding community work. The documentation alone is worth studying for all Joomla developers. Examples of unit testing. Even his comment "I developed it to cover my own needs, and published it in the hope that it will be useful to someone :)". Very well written code. Beautiful work. Such a joy to find. Thank you.
2013-01-04
Reviews: 2
It's small, beautiful and it works! I don't need huge sef engine to manage thousands of urls. Simple Custom Router is all right for simple websites. Thanks Daniel for sharing your work.