solution: specific language characters in URL replace...

More
14 years 4 months ago #2647 by huntsman007
hi,
Unfortunately as it turned out the problem with Polish characters, which are removed from the SEO-friendly URLs generated by Joomla.

I know, the problem is Joomla.

But there is a solution (test on v.1.5.15) to this problem by modify the file libraries/joomla/filter/filteroutput.php
In this file you need to find a function stringURLSafe (me started on the line 82), and add the following lines:
Code:
function stringURLSafe($string) { $from = array('ą','ć','ę','ł','ń','ó','ś','ź','ż','Ą','Ć','Ę','Ł','Ń','Ó','Ś','Ź','Ż'); $to = array('a','c','e','l','n','o','s','z','z','A','C','E','L','N','O','S','Z','Z'); $string = str_replace($from, $to, $string);

Since then the addresses are already set up as they should be.... and this solution does work on the link tag.

pozdrawiam / Kind Regards,
••••»----007----«••••

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.258 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline