CodeIgniter Forums
Problem with controllers in the URL - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Problem with controllers in the URL (/thread-18960.html)

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]