Example:
threads/turkish-test-ĞğÜüŞşİıÖöÇç.4816/
It should be:
threads/turkish-test-ğğüüşşiıööçç.4816/
I'm not into SEO and stuff, but is this to optimize SEO?
Definitely slower. I had wrongly assumed that those utf8 helper functions didn't utilize any mbstring functions. I just did a quick profiling and it turns out utf8_strtolower is almost 3 times slower when there are no mbstring functions available to it.utf8_strtolower (without the mb version)
global $UTF8_LOWER_ACCENTS, $UTF8_UPPER_ACCENTS;
$UTF8_LOWER_ACCENTS = array_merge($UTF8_LOWER_ACCENTS, array(
'ı' => 'i',
'ü' => 'u',
'ö' => 'o'
));
$UTF8_UPPER_ACCENTS = array_merge($UTF8_UPPER_ACCENTS, array(
'İ' => 'I',
'Ü' => 'U',
'Ö' => 'O'
));
public static function buildIntegerAndTitleUrlComponent($integer, $title = '', $romanize = false)
public static function buildIntegerAndTitleUrlComponent($integer, $title = '', $romanize = true)
You can modify the UTF-8 Library accent array. Create a plugin and try following code...
PHP:global $UTF8_LOWER_ACCENTS, $UTF8_UPPER_ACCENTS; $UTF8_LOWER_ACCENTS = array_merge($UTF8_LOWER_ACCENTS, array( 'ı' => 'i', 'ü' => 'u', 'ö' => 'o' )); $UTF8_UPPER_ACCENTS = array_merge($UTF8_UPPER_ACCENTS, array( 'İ' => 'I', 'Ü' => 'U', 'Ö' => 'O' ));
and you must know that the URL romanization must be active.
And I think you have to override this code:
PHP:public static function buildIntegerAndTitleUrlComponent($integer, $title = '', $romanize = false)
replace with:
PHP:public static function buildIntegerAndTitleUrlComponent($integer, $title = '', $romanize = true)
Not exactly. Search engines care more about content than URLs. We had this discussion earlier about the weight of keywords in URLs, and there isn't much weight in them.and the URL is a extremely vital tool for search engines.
You can modify the UTF-8 Library accent array. Create a plugin and try following code...
PHP:global $UTF8_LOWER_ACCENTS, $UTF8_UPPER_ACCENTS; $UTF8_LOWER_ACCENTS = array_merge($UTF8_LOWER_ACCENTS, array( 'ı' => 'i', 'ü' => 'u', 'ö' => 'o' )); $UTF8_UPPER_ACCENTS = array_merge($UTF8_UPPER_ACCENTS, array( 'İ' => 'I', 'Ü' => 'U', 'Ö' => 'O' ));
and you must know that the URL romanization must be active.
And I think you have to override this code:
PHP:public static function buildIntegerAndTitleUrlComponent($integer, $title = '', $romanize = false)
replace with:
PHP:public static function buildIntegerAndTitleUrlComponent($integer, $title = '', $romanize = true)
Wouldn't that take away meaning to the word. It would be like saying "kat" for "cat" (just an example) I might be wrong there, and the URL is a extremely vital tool for search engines.
We use essential cookies to make this site work, and optional cookies to enhance your experience.