Joomla SEF and Jumi URL output

802 Views Asked by At

I'm using jumi at the moment to create custom pages for joomla. However, when i try to use JRoute (eg: JRoute::_('index.php?option=com_jumi')) to redirect to a menu item i created for the jumi page, I get the following url http://www.mydomain.com/component/jumi/confirm?ad_code=MDAwMV8wNTgx.(WHERE confirm is my jumi alias)

My question now is: how can i get rid of the "/component/jumi/" statement in the url. (ie: http://www.mydomain.com/confirm?ad_code=MDAwMV8wNTgx)

1

There are 1 best solutions below

2
On

Can you try this

  1. In your Menu Item Manager (Menus, Select a Menu) .
  2. Create a new Menu item, Select your Component from the Menu Type Options
  3. Enter in the Menu Item Details Title and Alias. The title will now be the text shown as the link and will remove the /component/ from your URL.

The above tips is taken from here