Keyword

K2 tags generate wrong URLs

More
9 years 2 months ago #151593 by M DZ
K2 tags generate wrong URLs was created by M DZ
I have a problem with they way, K2 tags generate URLs. I use special characters as my website is in Polish.

So once, I add tag with the name of Arsenal keeper - which in Polish is: Wojciech Szczęsny it should generate in URL as: wojciech-szczesny

But it doesn't, instead it is: wideo/tag/Wojtek Szczęsny

Which obviously is terrible for SEO. Each item alias is generated correctly, but the problem is with the tags, not just with the letters, but also a space given between name "Wojtek Szczęsny" in URL!

I have used suggested plugin K2_DEV_BUILD

Within the global configuration >> K2>> Tag System Settings it seems, that everything should be fine imgur.com/rH4J6eu

But it's not... How can I solve it?

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

More
9 years 2 months ago #151601 by Lefteris
Replied by Lefteris on topic K2 tags generate wrong URLs
Hi,

You have to enable tags normalization and add the characters replacements for the characters you want to get stripped.

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

More
9 years 2 months ago #151607 by M DZ
Replied by M DZ on topic K2 tags generate wrong URLs
I've just enabled tags normalization, here is a screen, how the options look like now:

imgur.com/MGkPq4g

But it's still not generating proper URLs ....

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 2 months ago #151609 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 tags generate wrong URLs
Can you send us an example URL?

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

More
9 years 1 month ago #153156 by M DZ
Replied by M DZ on topic K2 tags generate wrong URLs
Yes, this is the item www.sportowyobiektyw.pl/wideo/wywiad-z-lukaszem-piszczkiem

There is a tag, which is "Łukasz Piszczek"

Tags normalization doesn't work, it generates

www.sportowyobiektyw.pl/wideo/tag/%C5%81ukasz%20Piszczek

instead of:

www.sportowyobiektyw.pl/wideo/tag/lukasz-piszczek

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 1 month ago #153165 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 tags generate wrong URLs
Hello,

Have you entered any character replacements?

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

More
9 years 1 month ago #153171 by M DZ
Replied by M DZ on topic K2 tags generate wrong URLs
Yes, of course here are few: ą|a, Ą|A,ć|c,Ć|C,ę|e, Ę|E,ś|s,Ś|s, ł| l,Ł|L

The thing is, that it doesn't work.

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

More
9 years 1 month ago #153174 by M DZ
Replied by M DZ on topic K2 tags generate wrong URLs
That's how it looks like

imgur.com/GPY2vr3

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

More
9 years 4 weeks ago #153224 by M DZ
Replied by M DZ on topic K2 tags generate wrong URLs
Is there anything we can do, to solve it?

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

More
9 years 4 weeks ago #153255 by M DZ
Replied by M DZ on topic K2 tags generate wrong URLs
??

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 4 weeks ago - 9 years 4 weeks ago #153266 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 tags generate wrong URLs
Can you try with these characters?

À|A, Á|A, Â|A, Ã|A, Ä|A, Å|A, à|a, á|a, â|a, ã|a, ä|a, å|a, Ā|A, ā|a, Ă|A, ă|a, Ą|A, ą|a, Ç|C, ç|c, Ć|C, ć|c, Ĉ|C, ĉ|c, Ċ|C, ċ|c, Č|C, č|c, Ð|D, ð|d, Ď|D, ď|d, Đ|D, đ|d, È|E, É|E, Ê|E, Ë|E, è|e, é|e, ê|e, ë|e, Ē|E, ē|e, Ĕ|E, ĕ|e, Ė|E, ė|e, Ę|E, ę|e, Ě|E, ě|e, Ĝ|G, ĝ|g, Ğ|G, ğ|g, Ġ|G, ġ|g, Ģ|G, ģ|g, Ĥ|H, ĥ|h, Ħ|H, ħ|h, Ì|I, Í|I, Î|I, Ï|I, ì|i, í|i, î|i, ï|i, Ĩ|I, ĩ|i, Ī|I, ī|i, Ĭ|I, ĭ|i, Į|I, į|i, İ|I, ı|i, Ĵ|J, ĵ|j, Ķ|K, ķ|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ӧ|o, ө|o, ӫ|o, ҩ|o, п|p, ҧ|pf, р|p, ҏ|p, с|s, ҫ|s, т|t, ҭ|th, ћ|t, ќ|k, у|u, ў|u, ӳ|u, ӱ|u, ӯ|u, ү|u, ұ|u, ф|f, х|h, ҳ|h, һ|h, ц|ts, ҵ|ts, ч|ch, ӵ|ch, ҷ|ch, ӌ|ch, ҹ|ch, џ|dz, ш|sh, щ|sht, ъ|a, ы|y, ӹ|y, ь|y, ҍ|y, э|e, ӭ|e, ю|yu, я|ya

Furthermore please doublecheck your unicode Aliases' settings?
docs.joomla.org/International_Enhancements_for_Version_1.6#Unicode_URLs
Last edit: 9 years 4 weeks ago by Krikor Boghossian.

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

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Elite Member
More
9 years 4 weeks ago #153298 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic K2 tags generate wrong URLs
Is there any extension at your Joomla installation that modifies the url structure ?

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

More
9 years 3 weeks ago #153400 by M DZ
Replied by M DZ on topic K2 tags generate wrong URLs
No I haven't used this kind of extensions at any point.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 3 weeks ago #153413 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 tags generate wrong URLs
Can we try a couple of things?
a) Paste the entire character set for replacements.
b) Try adding a new tag.

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

More
9 years 3 weeks ago #153424 by M DZ
Replied by M DZ on topic K2 tags generate wrong URLs
It's still wrong. What I did:

I added all the characters you gave (I've tried it earlier, as well), checked the global configuration.

What's symptomatic and what I've noticed is a fact that, when I for example create a new K2 menu item, which is K2 » Item listings » Tag it generates a proper url (lowers the letters adds dash etc). All other Url-s in the template are fine.

The thing is only with the item list by tag, generated from item.

Since, I've added all the characters, you've suggested. The only change is that, when I add a new tag with special characters in it to the item, it doesn't allow me to do so. So a displayed tag) in item is without the special characters (which certainly is not, what we want), so obviously it generates URL without special characters, but also without dashes, and even lowering the letters.

In my browser it looks like this:

www.sportowyobiektyw.pl/wideo/tag/Lukasz Fabianski

For Google it is:

www.sportowyobiektyw.pl/wideo/tag/Lukasz%20Fabianski

There must be an issue within K2, of how it generates URLs for item listing by tag, for tags with special characters - generated from items.

I have tried it on an empty but the same template, for different domain, and it's the same. Please help.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 3 weeks ago #153428 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 tags generate wrong URLs
The %20 can be explained here: github.com/getk2/k2/issues/71
From what I can see the special character issue is gone now with the new character replacements.

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

More
9 years 2 weeks ago #153669 by M DZ
Replied by M DZ on topic K2 tags generate wrong URLs
They don't give, any kind of explanation, they just mention the issue, nothing more github.com/getk2/k2/issues/71

Character replacements doesn't work properly, they only way it works, is that it doesn't display tag words in items with special characters ion my language, which in Polish sometimes even changes the meaning.

It all seems, as a hopeless issue :(

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 2 weeks ago #153713 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 tags generate wrong URLs
Unfortunately you will have to wait for v3, where you can manually set a tag's alias or you can map these tags into a menu item.

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


Powered by Kunena Forum