need help with .htaccess |
[eluser]Yours3lf[/eluser]
Hi, I wrote a CI app, and now it's time to make it work. The app is divided to controllers that have functions. Now if I want to access a controller's function I have to do this: http://example.com/controller/function1/...am3/param4 Now to make this google friendly I tried to write a .htaccess file, which rewrites the urls so that each function has a specific name that is translated. For example: http://example.com/name1/param1/param2/param3/param4 translates to: http://example.com/controller/function1/...am3/param4 but this wouldn't work. I tried to debug it by redirecting the url (using [R]), and that way it did work, but without that it doesn't. Here's the .htaccess code: Code: RewriteEngine on what am I doing wrong? |
Messages In This Thread |
need help with .htaccess - by El Forum - 07-16-2012, 03:11 AM
need help with .htaccess - by El Forum - 07-16-2012, 05:27 AM
need help with .htaccess - by El Forum - 07-16-2012, 06:13 AM
need help with .htaccess - by El Forum - 07-16-2012, 06:17 AM
|