- Posts: 7
COMMUNITY FORUM
How to disable category titles in URL
- Abraham Tol
- Topic Author
- Offline
- New Member
Less
More
3 years 9 months 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!
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.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
3 years 9 months ago #178129
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic How to disable category titles in URL
Disable the Advanced SEF option under the SEO tab in K2's component settings.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Abraham Tol
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
3 years 9 months 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.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
3 years 9 months ago #178149
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks 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.
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.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.