Keyword

How to disable category titles in URL

  • Abraham Tol
  • Abraham Tol's Avatar Topic Author
  • Offline
  • New Member
More
2 weeks 2 days ago #178087 by Abraham Tol
How to disable category titles in URL was created by Abraham Tol
I have a 3 level deep category structure to assign k2 items to, such as place to stay in a certain region.
The item is assigned to a hidden menu item.

A menu item shows overview of items
malawitravel.org/african-parks/parks-southern-region.html

When selecting an item my url gets the category structure names inserted, like:

malawitravel.org/african-parks/parks-southern-region/regions/african-national-parks/southern-region/lake-chilwa.html

However i expect to see this working url:

malawitravel.org/african-parks/parks-southern-region/lake-chilwa.html

This drives me nuts. Redirecting is not an option. How can i get the correct URL's?

Thank you for your help!

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Online
  • Administrator
  • JoomlaWorks Support Team
More
1 week 5 days ago #178129 by Fotis
Replied by Fotis on topic How to disable category titles in URL
Disable the Advanced SEF option under the SEO tab in K2's component settings.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • Abraham Tol
  • Abraham Tol's Avatar Topic Author
  • Offline
  • New Member
More
1 week 4 days ago #178135 by Abraham Tol
Replied by Abraham Tol on topic How to disable category titles in URL
I did that, then i get id-catogory and such...i want nothing

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Online
  • Administrator
  • JoomlaWorks Support Team
More
1 week 4 days ago #178149 by Fotis
Replied by Fotis on topic How to disable category titles in URL
Replace the K2 Router in /components/com_k2/router.php with the previous version from: jmp.sh/CZ2oMKG

Enable Advanced SEF again and adjust your category path.

You should get what you want.

The new router in v2.10.3 needs some "polishing" so the functionality of both URL routers will be merged in the next update of K2.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum