mod_rewrite - 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: mod_rewrite (/showthread.php?tid=66885) |
mod_rewrite - jajati - 12-14-2016 My application runs in php with codeigniter. i want to redirect the url like this. https://www.domain.com/search-profile/<numeric>/file_name.htm to https://www.domain.com/file_name.htm Can somebody help how to do it ? RE: mod_rewrite - enlivenapp - 12-17-2016 unless you want ALL traffic to your site to go through that particular process with mod_rewrite I think you should look into routing. https://codeigniter.com/user_guide/general/routing.html |