Welcome Guest, Not a member yet? Register   Sign In
CI not called when using mod_rewrite with PHP5 running as cgi
#5

[eluser]Sarfaraz Momin[/eluser]
Hi,
I have tons of such URLs and I use the routes available in codeigniter for such URLs. I just have one rule in my .htaccess and that is to remove the index.php file. Well to demonstrate this is how you can achieve it in codeigniter.

Code:
$route['aboutus\.html'] = "index.php/pages/aboutus";

I found that codeigniter gave me a lot more flexibility and power when using the routes for clean and SEO friendly URLs.

Hopes this make sense. Let me know if you have any queries.

Good Day !!!


Messages In This Thread
CI not called when using mod_rewrite with PHP5 running as cgi - by El Forum - 11-06-2007, 07:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB