Jump to content

Shortening URLs by removing Directory & Section


anders breinholst

Recommended Posts

Hi, I have a problem with the URLs of the category-pages on my site being too long. Section- and Details-pages are ok, though, since they have menu-items associated with them (great tip with the hidden menus).

 

Here's the URL of  a category list page on my site, just as an example:

 

marked/e-boger/Marked/e-boger/biografier_c69_m134/

 

Breaking it down:

 

Menu item/Sub-menu item/Directory/Section/Category/

 

My question is whether I can get rid of the Directory and Section somehow, since the category (as far as I can tell) already uniquely defines the page.

 

And yes, this probably has more to do with a bad menu-setup than anything else  ;D

 

I'm guessing this is something that can be done in /jreviews/views/helpers/routes.php, I'm just not quite sure how. Or am I way off?

 

Thanks in advance

Link to comment
  • 1 month later...
×
×
  • Create New...