Problems with hyphens

17 years 5 months ago #599 by bogus
I have in some of my url hyphens.
Under preferences, for "Space", I entered a hyphen, so that all spaces will be replaced by a hyphen. This happens. However, all existing hyphens are displayed as %11.

example: before: www.mysite.com/just-a text
after: www.mysite.com/just%11a-text

Is there a way to modify the settings so that all existing hyphens show as hyphens, and all spaces are replaced by hyphens?

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

17 years 5 months ago #600 by Saka
No because if regular hyphens in titles wouldn't be encoded then they would be treated as spaces, there would be no way to make a distinction.

You can replace hyphens to something else, like underscore (-=>_) but make sure you have no underscores in any titles then.

Emir Sakic
www.sakic.net

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

14 years 1 month ago #5586 by abo
Thank you for the tipp - solved my problem as well.  :)
Emptying the cache may be needed, not to end up on a invalid page after changing to a new character.  ::)

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

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch