Keyword

Joomla 3.5 and K2 URLs

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 3 months ago #155899 by Krikor Boghossian
Replied by Krikor Boghossian on topic Joomla 3.5 and K2 URLs
If you find this cryptic:

) map each K2 category into a separate menu item (this is what I do).


I am not sure what else to say.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
8 years 3 months ago - 8 years 3 months ago #155900 by shoulders
Replied by shoulders on topic Joomla 3.5 and K2 URLs

I am not sure what else to say.

K2 doesn't support nested category SEF URLs
Last edit: 8 years 3 months ago by shoulders.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 3 months ago #155901 by Krikor Boghossian
Replied by Krikor Boghossian on topic Joomla 3.5 and K2 URLs
There is no point in continuing this discussion I am afraid.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • En Jie
  • En Jie's Avatar Topic Author
  • Offline
  • New Member
More
8 years 3 months ago - 8 years 3 months ago #155905 by En Jie
Replied by En Jie on topic Joomla 3.5 and K2 URLs
My k2 urls are in a bit of the mess now.

To respond to some of Krikor's questions (as you can see from the credentials I sent through the contact form):

You need to either map all categories into menu items OR use K2's advanced SEF.

Using both can result to not-so nice URLs.


I have mapped all categories into menu items and I am currently having K2 advanced SEF OFF

Furthermore sh404sef's cache seems to have issues when it comes to purging.


I have been purging urls using sh404sef. I am wondering what issue you have experienced?

Finally when using Advanced SEF if you select "Use the item's category" in the Prefix for item URLs setting then you will get an extra prefix,


As indicated above, my k2 advanced SEF is currently OFF, it therefore should not have effect on the menu mapping of Joomla. The urls I am getting are:

category/menu-item/id_subcategory/k2 article.html
(the menu-item here is the menu item for the k2 sub-category)

I would appreciate any advice as what I causing this?

Best regards

En Jie
Last edit: 8 years 3 months ago by En Jie.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 3 months ago #155934 by Krikor Boghossian
Replied by Krikor Boghossian on topic Joomla 3.5 and K2 URLs

I have mapped all categories into menu items and I am currently having K2 advanced SEF OFF


They are disabled because you sent me credentials and I disabled them myself.

The default URLs are /menu-item/item/id-itemalias.
Since you were getting completely different URLs, to be more precise,
category-prefix, no ID in the URL and no /item/ this is the result of K2's advanced SEF.

Without K2's advanced SEF you would not be getting these URL patterns.

Finally in your site the URLs are:

staging.domain.com/blog/hot-topics/item/71-the-recent-surge-of-pu-erh-tea-prices-in-china.html

or
staging.domain.com/blog/green-tea/item/167-green-teas-are-not-all-equal.html

which are of the pattern:
/main-category/subcategory/item/id-item-alias.

You can reenable K2's advanced SEF in order to remove the /item/ prefix, just don't use the item's category as a prefix.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum