View Full Version : Once again: German Umlaute ä,ö,ü,ß in urls
*Alex
03-27-2011, 04:38 AM
Hallo,
as it hast been in links directory 3, it´s now the same in links directory 4:
The German umlaute Ä => ae, ä =>ae, Ü => ue, ü => ue, Ö =>oe, ö => oe and ß => ss can not be rewritten in the search engine friendly urls.
Is there any possibility that this feature will be added in future? :confused:
deathemperor
03-29-2011, 01:36 PM
use this:
in vba_links_function
look for: ($hook = vBulletinHook::fetch_hook('vba_links_functions_fetch_spider_url')) ? eval($hook) : false;
after it add this:
$text = str_replace(
array('Ä', 'ä', 'ü'),
array('ae', 'ae', 'ue'),
$text
);
and you can any replacement as you want by add '', with what you want
*Alex
03-29-2011, 02:32 PM
Where´s the post thanks button here? :)
Works perfect, thanks. http://www.vbadvanced.com/forum/images/icons/icon14.gif
For all german users the complete code edit for german / deutsche umlaute:
Suche in der Datei /includes/vba_links_functions.php nach
($hook = vBulletinHook::fetch_hook('vba_links_functions_fetch_spider_url')) ? eval($hook) : false;und füge darunter ein
$text = str_replace(
array('Ä', 'ä', 'Ü', 'ü', 'Ö', 'ö', 'ß'),
array('ae', 'ae', 'ue', 'ue', 'oe', 'oe', 'ss'),
$text
);Thanks again to deathemperor. :)
deathemperor
03-29-2011, 03:32 PM
Where´s the post thanks button here? :)
Works perfect, thanks. http://www.vbadvanced.com/forum/images/icons/icon14.gif
For all german users the complete code edit for german / deutsche umlaute:
Suche in der Datei /includes/vba_links_functions.php nach
($hook = vBulletinHook::fetch_hook('vba_links_functions_fetch_spider_url')) ? eval($hook) : false;und füge darunter ein
$text = str_replace(
array('Ä', 'ä', 'Ü', 'ü', 'Ö', 'ö', 'ß'),
array('ae', 'ae', 'ue', 'ue', 'oe', 'oe', 'ss'),
$text
);Thanks again to deathemperor. :)
you are welcome my friend
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.