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 :/ 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. 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 .. 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/ 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 :] 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
Archived
This topic is now archived and is closed to further replies.