I have Elgg 1.1 in the language portuguese, the characters with accents in title disappear in the url, I like an suggestion to configuration the file htaccess to rewrite of characters with accents other without accents in the url.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
You can try this one:
Open a file:
/engine/lib/elgglib.php
Find the line with this text:
And change to this code (comment two lines):
It seems it will help you. :)
Hello!! Pavel M
The modification show accent in character the url, I need show characters without accent in the url.
Exemple:
My URL : http://mysite.com/ícone-coração-táxi
Change to : http://mysite.com/icone-coracao-taxi
Sorry Marco, :)
You can use this lines without comments:
$title = strtolower($title);
$title = preg_replace("/[^\w ]/","",$title);
You need to include after this rows news lines (function friendly_title):
etc.
i.e. $title = str_replace("symbol_what_you_have","symbol_what_you_need",$title);
...new lines... It's my mistake.