Keyword

Author page alias - change generate

More
8 years 3 weeks ago #157498 by Bazyl
Hello,

User name: Adam Zćęśą Ferrari Testarossa
Alias automatic: author/id-adamzćęśąferraritestarossa

How to change: author/id-adam-zcesa-ferrari-testarossa

I know I can do a menu item, but not the point.

Thanks

p.s. I'm sorry, I do not know English

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 3 weeks ago #157506 by Krikor Boghossian
Replied by Krikor Boghossian on topic Author page alias - change generate
Hello Bazyl,

Have you enabled unicode slugs and character replacements?
The first should be set to YES (which quite probably is) and then in K2's advanced settings you need to enable the "Enforce SEF URL character replacements" setting.

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 1 week ago - 8 years 1 week ago #157800 by Bazyl
Replied by Bazyl on topic Author page alias - change generate
Thank you very much.
There was no Polish letters: ą|a, ć|c, ę|e, ł|l, ń|n, ó|o, ś|s, ź|z, ż|z
:-)

Do you know how to change a space character?
Thanks
Last edit: 8 years 1 week ago by Bazyl.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 1 week ago #157807 by Krikor Boghossian
Replied by Krikor Boghossian on topic Author page alias - change generate
The space character is changed automatically %20
I have not tried to replace it, but you can try something like |-
Let me know if that works.

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 1 week ago #158001 by Bazyl
Replied by Bazyl on topic Author page alias - change generate
Unfortunately.
I checked different combinations and nothing.

Regards

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 1 week ago #158014 by Krikor Boghossian
Replied by Krikor Boghossian on topic Author page alias - change generate
stackoverflow.com/questions/5821120/301-redirect-to-replace-all-spaces-to-hyphens
# keep replacing space to hyphen until there is no space use internal rewrite
RewriteRule ^([^\s%20]*)[\s%20]+(.*)$ $1-$2 [E=NOSPACE:1]

I have not personally tried it but is worth a shot.

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