Keyword

SEF URLs Article IDs

More
7 years 10 months ago #159069 by PB
SEF URLs Article IDs was created by PB
I recently installed K2 but then uninstalled it for Joomla 3.6 since I was unprepared to learn all it's (great-looking) features during site rollout. I'll eventually use it after current site bugs are worked out.

I was using Joomla's SEF URLs and noticed that K2 had inserted the numerical Article IDs as prefix into my previously-clean page URLs and the Article IDs remain after uninstalling K2.

s17.postimg.org/my69a8li7/k2_add_article_id_to_url.png

Is there some setting that I missed so I can remove the Article IDs from the URLs?

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

More
7 years 10 months ago #159083 by STEPHAN HERBY
Replied by STEPHAN HERBY on topic SEF URLs Article IDs
Hi PB, that's easy :
Go to K2 parameters, choose "Advanced" Tab.
Down to "Advanced SEF Settings" and choose "No" for "Use the item ID in the URL".
But be careful with that option. As said in the warning message :

If you choose not to use the item ID in your URLs, please understand the following: a) For every K2 item link generated on a Joomla! page there is an additional query to the database (performance hit) and b) items with the same 'title alias' will conflict in your site's structure (only one of them will always display). This setting can safely be used on sites with a few dozens items max, where you probably know the alias for every K2 item.

I wonder if K2 will change this approach with Joomla 3.7 : it will get cleaner URLs, no longer ID's in the URL.

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

More
7 years 10 months ago #159090 by PB
Replied by PB on topic SEF URLs Article IDs
Excellent, thank you. I admit that I was a bit overwhelmed after I installed K2 and got confused by all it could do. I'll have to check into what a 'K2 Item' actually is; I presume it doesn't mean articles, as I have more than a few dozen of those.

Regards,

Paul

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 10 months ago #159100 by Krikor Boghossian
Replied by Krikor Boghossian on topic SEF URLs Article IDs
Hello,

Out of context here, but take a look at these videos, they will help you with K2.
getk2.org/documentation/k2class2012

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

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

More
7 years 10 months ago #159133 by PB
Replied by PB on topic SEF URLs Article IDs
Thanks Krikor. I took a look and then realized these videos are four years old. I suppose they are still good though.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 10 months ago #159141 by Krikor Boghossian
Replied by Krikor Boghossian on topic SEF URLs Article IDs
Yes. Apart from the layout, the logic is exactly the same.

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