[wp-hackers] Cyrillic slugs in pages

b2 b2 at sysadmins-bg.net
Fri Aug 5 13:22:59 UTC 2011


Ok, i just found the solution :

wp-includes/class-wp.php line 162

-- 			$req_uri = str_replace($pathinfo, '', $req_uri);
++                    $req_uri = str_replace($pathinfo, '',
strtolower($req_uri));

Hope that helps ...
Cheers

On чт, 2011-08-04 at 10:22 +0300, b2 wrote:

> Hi , i have problems with cyrillic slugs in WordPress 3.2.1 , problem is
> when url is copied to aim , or skype or posted into link , wordpress
> gives 404 not found , when link is inside wordpres - menu or in post or
> page - it is ok. categories and posts are working just fine when url is
> pasted like external link . my permalinks structure is - /%category%/%
> postname%/ but , from what i know it is only for posts and not pages , i
> use nested pages structure , so some of my pages slugs looks like : 
> http://example.com/страница/страница2/страница3/
> 
> any ideas how to fix that ? 
> thanks in advance.
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers




More information about the wp-hackers mailing list