AlterBrains • Remove Category from K2 URLs
Page 1 of 2

Remove Category from K2 URLs

Posted: March 13th, 2016, 8:44 am
by joomdude808
Currently my K2 Blog Type URLs are like this:

domain.com/blog/alterbrains-rocks

Can Direct Alias Pro remove the category from the URL, making all Blog Type URLs only use the K2 Item Alias:

domain.com/alterbrains-rocks

Re: Remove Category from K2 URLs

Posted: March 14th, 2016, 3:18 am
by Admin
If 'alterbrains-rocks' is a menu item - you can edit it and set Alias to 'Direct'

Re: Remove Category from K2 URLs

Posted: March 14th, 2016, 8:33 am
by joomdude808
In this example, 'alterbrains-rocks' is an item alias - the item URL is generated from of a K2 > Category Type Menu.

For clarification: Direct Alias Pro can only remove the IDs of URLs (categories & item alias) generated from 'Blog Category' and 'K2 Category' menu generated URLs, but CAN NOT remove the category by setting the alias to 'Direct' for the menu parent so all children inherit the same 'Direct' parameter?

Re: Remove Category from K2 URLs

Posted: March 14th, 2016, 2:10 pm
by Admin
Direct Alias Pro can only remove IDs from native Joomla articles component (com_content), it doesn't work with K2.

Both Direct Alias and Direct Alias Pro can remove parent menu items' aliases from menu item URL.

Re: Remove Category from K2 URLs

Posted: March 14th, 2016, 2:14 pm
by joomdude808
Is such a feature impossible to accomplish with a plugin?

Do you plan on offering such a feature?

Re: Remove Category from K2 URLs

Posted: March 14th, 2016, 4:32 pm
by Admin
Please advice which feature do you mean? K2 has own URLs without IDs.

For now we only plan the feature to use Joomla article alias exclusively for URL:
http://site.com/article-alias
Right now such URL is only possible if an article has own menu item with "article-alias" alias.

Re: Remove Category from K2 URLs

Posted: March 14th, 2016, 4:39 pm
by joomdude808
Ok - Thank You

One more question - what impact does using Direct Alias (free) have on a website?

Re: Remove Category from K2 URLs

Posted: March 15th, 2016, 9:45 am
by Admin
Absolutely minimum, it can only affect performance of a website with e.g. 1000 menu items.

Re: Remove Category from K2 URLs

Posted: March 15th, 2016, 9:53 am
by joomdude808
Ok - Thank You :)

Re: Remove Category from K2 URLs

Posted: March 15th, 2016, 5:35 pm
by joomdude808
Feature Request:

Is it possible to have your plugin work with NoNumber Add to Menu extension?
https://www.nonumber.nl/extensions/addtomenu