![]() |
Codeigniter .htaccess redirect - 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: Codeigniter .htaccess redirect (/showthread.php?tid=373) |
Codeigniter .htaccess redirect - future_man - 11-26-2014 I don't understand how can this work and the later doesn't... If I have a .htaccess on my root: Code: RewriteEngine on and my index in root/public/index.php everything works fine when I enter my URL (localhost). Page redirects finds my index and deletes a part of URL. But if I relocate everything in another file root/en and throw .htaccess file in there: Code: RewriteEngine on it just doesn't want to redirect to root/en/public/index.php when I type localhost/en... I get "The page you requested was not found." |