mod_rewrite url redirect problem - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: mod_rewrite url redirect problem (/showthread.php?tid=3209) |
mod_rewrite url redirect problem - El Forum - 09-17-2007 [eluser]freaksauce[/eluser] I have the following set up to remove the index.php and its working fine: Code: RewriteEngine on Code: RewriteCond %{HTTP_HOST} ^www.mysite.com$ [NC] The whole block is as follows: Code: RewriteEngine on mod_rewrite url redirect problem - El Forum - 09-17-2007 [eluser]alexsancho[/eluser] Try this rules instead, Code: RewriteEngine On mod_rewrite url redirect problem - El Forum - 09-17-2007 [eluser]freaksauce[/eluser] [quote author="alexsancho" date="1190030345"]Try this rules instead, Code: RewriteEngine On Oh you are a legend, thanks so much I really don't understand mod_rewrite! |