CodeIgniter Forums
Problem with controllers in the URL - 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: Problem with controllers in the URL (/showthread.php?tid=18960)

Pages: 1 2


Problem with controllers in the URL - El Forum - 05-24-2009

[eluser]Volder[/eluser]
aha, thanks for an advice.

I will put it in my TO DO list.

have a nice day Smile


Problem with controllers in the URL - El Forum - 05-24-2009

[eluser]rajyakshmik[/eluser]
Code:
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/system.*
RewriteRule ^(.*)$ index.php?/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ /index.php?/$1 [L]