Keyword

K2 items URL

  • Meziane
  • Meziane's Avatar Topic Author
  • Offline
  • New Member
More
11 years 1 month ago #117377 by Meziane
K2 items URL was created by Meziane
Hi All

I want to hide category name and item it from URL.

It's shown like:
www.example.org/newsroom/news/item/966-ItemAlias

I want it to be like :

www.example.org/966-ItemAlias

In all categories

How i can do it?

Thanks!

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

  • Franz Wohlkönig
  • Franz Wohlkönig's Avatar
  • Offline
  • Platinum Member
More
11 years 1 month ago #117378 by Franz Wohlkönig
Replied by Franz Wohlkönig on topic Re: K2 items URL
Hy,

k2 > Parameters > Enhanced > "Enhanced SEF-Parameters" and below "sh404SEF Integration"

Regards

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

  • Meziane
  • Meziane's Avatar Topic Author
  • Offline
  • New Member
More
11 years 1 month ago #117379 by Meziane
Replied by Meziane on topic Re: K2 items URL
Thanks

But what i have to do ?

I changed the (sh404SEF URL category prefix for items) to No categories

But i didn't find any changes! the URLs still same. :(

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

  • Franz Wohlkönig
  • Franz Wohlkönig's Avatar
  • Offline
  • Platinum Member
More
11 years 1 month ago #117380 by Franz Wohlkönig
Replied by Franz Wohlkönig on topic Re: K2 items URL
oh, i see, you dont want any cat or menu-name in your url. Sorry, my fault. btw: whats the goal to hide cat&menu?

Regards

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

  • Meziane
  • Meziane's Avatar Topic Author
  • Offline
  • New Member
More
11 years 1 month ago #117381 by Meziane
Replied by Meziane on topic Re: K2 items URL
Thanks very much for your replay.

The goals are:

1) if i change article category to other category, I don't want the change of URL, still same.
Now when i change the category of any item, the URL change.

2) The URL is so long, I want just website address and item Alias.

Can i do that?

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

More
11 years 1 month ago #117382 by Michael Züst
Replied by Michael Züst on topic Re: K2 items URL
Hi

After changing the settings in k2, you have to purge the ulr cache in sh404sef to see the changes. After purging, the sef-urls will be generated from new again with new settings.

But you have to know, if you do changes to the url-structure on a already performing (maybe big) website, google webmaster tools and others will firstly identify a lot of duplicate urls and you will have to work with a lot of 404-Requests, especially in sh404sef you will have to make redirections on a daily base ;-)

Michael

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

  • Franz Wohlkönig
  • Franz Wohlkönig's Avatar
  • Offline
  • Platinum Member
More
11 years 1 month ago #117383 by Franz Wohlkönig
Replied by Franz Wohlkönig on topic Re: K2 items URL
as michael says: each chance of cat-names makes a lot of 404-work. but: clear names of cat-structure helps users. thats the reason of my question.

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


Powered by Kunena Forum