- Posts: 142
COMMUNITY FORUM
Category, SubCategory and SubSubCategory url
- theant
- Topic Author
- Offline
- Premium Member
Less
More
9 years 11 months ago - 9 years 11 months ago #133202
by theant
Category, SubCategory and SubSubCategory url was created by theant
Hello
I need to get the Category, Subcategory and SubSubCategory in Item url.
I created e K2Tool module as Category List (menu) but the pages have url like
mydomain.com/main-category/subsubcategory/item.html
it drops the subcategory name
you can check it here:
www.archiviosonoro.org/marche/archivio/3-raccolta-esempio/2-001-pietrapertosa.html
the K2Tool module is here:
www.archiviosonoro.org/marche/mappa-dell-archivio.html
is it possible to fix it?
I need to get the Category, Subcategory and SubSubCategory in Item url.
I created e K2Tool module as Category List (menu) but the pages have url like
mydomain.com/main-category/subsubcategory/item.html
it drops the subcategory name
you can check it here:
www.archiviosonoro.org/marche/archivio/3-raccolta-esempio/2-001-pietrapertosa.html
the K2Tool module is here:
www.archiviosonoro.org/marche/mappa-dell-archivio.html
is it possible to fix it?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 11 months ago #133203
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: Category, SubCategory and SubSubCategory url
I think the best way to achieve this would be by mapping these categories into your menu.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- theant
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 142
9 years 11 months ago #133204
by theant
Replied by theant on topic Re: Category, SubCategory and SubSubCategory url
Thanks for reply. So the K2 tool menu isn't enough?
Please Log in or Create an account to join the conversation.
- theant
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 142
9 years 11 months ago #133205
by theant
Replied by theant on topic Re: Category, SubCategory and SubSubCategory url
So every time I add a category, I must add the menu item manually?
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
9 years 11 months ago #133206
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Re: Category, SubCategory and SubSubCategory url
@theant
Yes since you need custom URLs you need to build them using menu links. Alternatively you can search for a SEF extension doing this.
Yes since you need custom URLs you need to build them using menu links. Alternatively you can search for a SEF extension doing this.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- theant
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 142
9 years 11 months ago #133207
by theant
Replied by theant on topic Re: Category, SubCategory and SubSubCategory url
using category/subcategory/subsubcategory/item in my opinion is not a custom url, it should be the default/core url; anyway I will check for SEF plugin. Any suggestion?
Thanks
Thanks
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 11 months ago #133208
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: Category, SubCategory and SubSubCategory url
sh404sef will do this, but only one subcategory is allowed.
I think AceSEF supports K2 but you will have to double check this with the extension's developer.
I think AceSEF supports K2 but you will have to double check this with the extension's developer.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- theant
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 142
9 years 11 months ago #133209
by theant
Replied by theant on topic Re: Category, SubCategory and SubSubCategory url
this seems to work right:
www.sakic.net/forum/sef-advance/sef-advance-extension-for-k2/
The regular K2 SEF URLs are right now like:
Animals (category): http://domain/animals
Birds (subcategory): http://domain/animals/itemlist/category/4-birds
Eagle (item): http://domain/animals/item/3-eagle
Hawk (item): http://domain/animals/item/4-hawk
With the new extension for SEF Advance you get:
Animals (category): http://domain/animals/
Birds (subcategory): http://domain/animals/birds/
Eagle (item): http://domain/animals/birds/eagle/
Hawk (item): http://domain/animals/birds/hawk/
It works for unlimited category depth. As you can see there are no IDs nor strange words in the URLs and they are far more logical reflecting your content structure. The other K2 views are also covered with improved URLs.
www.sakic.net/forum/sef-advance/sef-advance-extension-for-k2/
The regular K2 SEF URLs are right now like:
Animals (category): http://domain/animals
Birds (subcategory): http://domain/animals/itemlist/category/4-birds
Eagle (item): http://domain/animals/item/3-eagle
Hawk (item): http://domain/animals/item/4-hawk
With the new extension for SEF Advance you get:
Animals (category): http://domain/animals/
Birds (subcategory): http://domain/animals/birds/
Eagle (item): http://domain/animals/birds/eagle/
Hawk (item): http://domain/animals/birds/hawk/
It works for unlimited category depth. As you can see there are no IDs nor strange words in the URLs and they are far more logical reflecting your content structure. The other K2 views are also covered with improved URLs.
Please Log in or Create an account to join the conversation.
- shoulders
- Offline
- Senior Member
Less
More
- Posts: 44
8 years 4 months ago #154178
by shoulders
Replied by shoulders on topic Category, SubCategory and SubSubCategory url
I know this is an old topic but I would love to see this feature built into K2. I think it is a fairly standard feature nowadays and should not required someone to manually build the categories using the menu system, I have 1000 categories).
Mosets tree has this inbuilt and it is very useful
Can this be added as a feature request (possibly after the new Joomla Router is deployed)
Thanks
Mosets tree has this inbuilt and it is very useful
Can this be added as a feature request (possibly after the new Joomla Router is deployed)
Thanks
Please Log in or Create an account to join the conversation.
- shoulders
- Offline
- Senior Member
Less
More
- Posts: 44
8 years 4 months ago #154544
by shoulders
Replied by shoulders on topic Category, SubCategory and SubSubCategory url
Please Log in or Create an account to join the conversation.