wohoo!
i love
minimal
Joomla!

HP Router

HP Router takes the URLs of the core of Joomla! and removes the IDs from the non-menu parts. You can now create URLs without disturbing numbers in them and it even helps with duplicate content in some special cases. It implements some improvements in the URLs, too.

How to install? Just download and install like any other plugin.

ATTENTION!! There are a few things you have to keep in mind with this plugin:

  1. You can't have the same alias for two articles, even though they are in different categories. To be precise, you can't have the same alias for any type of content item. As a rule of thumb: If you can get to the list of this type of content items from the administrator menu, you can't use the same alias on two items in that list.
  2. This only works for the core components. Third party components need to either provide another router that could be saved in the folder of the plugin or they have this "correct" from the start without Numbers in the URLs.
  3. There is a slight performance decrease through this, since it adds another query and some code. This performance decrease is most likely purely academic, but if you have issues after installing this plugin, disable it. If you are already having problems with your performance, installing this plugin will not help.

How to prevent duplicate content with this plugin? Many people create a section view as a menu item and then create additional menu items to category views inside that section. They often enough name the menu item and the category the same way. Earlier, through the ID in the URL, the URLs from inside the section view to the category were different from the URLs using the menu link. With this plugin, when the two aliases are identical (the one in the menu item and the one in the category), Joomla will generate the same URLs in the section view and the menu. However, you have to notice that a menu item will always have precedence over a category. So if you have a different set of modules assigned to the category menu item and you are clicking on a link inside a section view, you will get the assigned modules from the category menu item

This is version 0.3 of this plugin with the bugs mentioned on the JED fixed.

Download here.


blog comments powered by Disqus