manix Posted August 7, 2011 Share Posted August 7, 2011 Hey I have this rewrite rule for my users RewriteRule ^([A-Za-z0-9-]+)/?$ user.php?user=$1 [L,NS] which works perfectly on examples like mysite.com/James mysite.com/William but I need to have examples like this redirected too mysite.com/Иван Is it even possible :/ Quote Link to comment https://forums.phpfreaks.com/topic/244123-rewrite-rule-with-cyrilic-links/ Share on other sites More sharing options...
cags Posted August 7, 2011 Share Posted August 7, 2011 You will probably have to use the \x characters for them. Quote Link to comment https://forums.phpfreaks.com/topic/244123-rewrite-rule-with-cyrilic-links/#findComment-1253749 Share on other sites More sharing options...
manix Posted August 7, 2011 Author Share Posted August 7, 2011 \x ? Can you gimme a tutorial cuz I really suck .. Quote Link to comment https://forums.phpfreaks.com/topic/244123-rewrite-rule-with-cyrilic-links/#findComment-1253752 Share on other sites More sharing options...
cags Posted August 7, 2011 Share Posted August 7, 2011 http://www.derekmartin.ca/2008/11/06/utf-8-uris-mod_rewrite-and-accents/ Quote Link to comment https://forums.phpfreaks.com/topic/244123-rewrite-rule-with-cyrilic-links/#findComment-1253759 Share on other sites More sharing options...
manix Posted August 7, 2011 Author Share Posted August 7, 2011 thanks :] Quote Link to comment https://forums.phpfreaks.com/topic/244123-rewrite-rule-with-cyrilic-links/#findComment-1253849 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.