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.2

Report Extension

 

 

2013-12-07
Reviews: 1
This extension is very useful for turning ugly urls to sef urls. However, I wasn't able to get it working. I followed all the instructions of the author, even the query in "test routes" works well, but I don't see any effect on the website...
Owner's reply

Please ensure that you have explicitly enabled the plugin (components in Joomla! are enabled by default after the installation, but plugins are not).

If the plugin is enabled, take into account that the "Test routes" only shows the path or query that would be generated for the given query or path, but it can't check whether the generated query is handled by any component or not. Therefore, you may have a typo in your query (for example, in the name of the component), or you may have another extension installed that overrides Simple Custom Router.

Still, if you can't get it working, please contact me by e-mail.

2013-08-05
Reviews: 7
Daniel did an excellent job with this custom router. It really is simple. After installation, I went to plugin manager and made sure it was "Enabled". Then in Site/Global Configuration/SEO Settings I clicked on "Yes" for Use URL rewriting (I had to change the htaccess.txt file name to .htaccess for this to work). After that, it was a simple matter of checking the query string in the menu and created a new name path and voila! shorter URLs. Thank you Daniel!
2013-07-05
Reviews: 2
Cool stuff!
Install, configure, works!
As easy as written. Perfect!
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: 3
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.