![]() |
Error 404 with unicode character in the URL like Japanese - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Error 404 with unicode character in the URL like Japanese (/showthread.php?tid=69438) |
Error 404 with unicode character in the URL like Japanese - phongtnit - 11-22-2017 Hi, I want to allow Unicode character in the URL like Japanese. I added in my route.php Quote:$route['category/(:any)'] = 'Category/view/$1'; When I tried access "category/大人っぽすぎる小学生が中学3年生にもなると.html", it's ok. However with the string "category/筧美和子さんのニットの衣装が素晴らしすぎる.html", it failed and return 404 error (please refer this image https://imgur.com/8lCA7s4 ) I don't know why and how to fix it. Please help me, many thanks, RE: Error 404 with unicode character in the URL like Japanese - natanfelles - 11-22-2017 Well it looks like this 404 error page is from your server ... So, are you sure you put the .htaccess in the right place? And, by chance, do not have you the static path "category/大人っぽすぎる小学生が中学3年生にもなると.html"? If that is the case, that is why it is shown. RE: Error 404 with unicode character in the URL like Japanese - phongtnit - 11-23-2017 (11-22-2017, 12:55 PM)natanfelles Wrote: Well it looks like this 404 error page is from your server ... Thanks natanfelles, my .htaccess as follow Quote:AddDefaultCharset UTF-8 My code worked almost cases like: Quote:category/കതത-കഥ-മലയള.html Please help me, |