1

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)

Lawrence
  • 717
  • 1
  • 12
  • 25
  • Possibility see here http://stackoverflow.com/questions/12887099/remove-component-part-from-sef-url-menu-item-not-completely – Yogus Jun 04 '13 at 01:51
  • I still can't do it. I think its different for jumi. What i'm creating now is not a custom component. I'm using a script i write using joomla and creating a menu item with joomla for the jumi application. I'm still getting the component dirname line – Lawrence Jun 04 '13 at 02:05
  • which joomla version ? – Yogus Jun 04 '13 at 02:17

1 Answers1

0

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

Yogus
  • 2,307
  • 5
  • 20
  • 38