View Single Post
Old March 7th, 2010, 05:17 AM   #1 (permalink)
Nicky
Junior Member
Verified Customer
 
Nicky's Avatar
 
Join Date: Mar 2010
Posts: 20
Post SEO URLs for non standard latin chars

hi,

just noticed that non standard latin chars want be replaced

e.g. my category called "Albumi naših članova" will get this url
"s500-albumi-na-c5-a1ih-ae-8dlanova.html"

hope some1 have a solution for this.

p.s.: with vbseo below replacement is working fine..

Quote:
'ć'=>'c'
'Ć'=>'c'
'Č'=>'c'
'č'=>'c'
'Ž'=>'z'
'ž'=>'z'
'Đ'=>'dj'
'đ'=>'dj'
'Š'=>'s'
'š'=>'s'
thank you in advance and wish you a nice sunday!

EDIT 1:
chars are stored in database in UTF-8 format

EDIT 2:
found out in pp-inc.php
function ppurlsafe( $string )
but like in vbseo that can be done directly.. means i have all UTF-8 chars for those
e.g.
Ć ć Ž ž

Last edited by Nicky; March 7th, 2010 at 06:26 AM.
Nicky is offline   Reply With Quote