Welcome Guest, Not a member yet? Register   Sign In
Codeigniter and htaccess mod_rewrite
#3

[eluser]Felipe Deitos[/eluser]
Start doing this in your htaccess

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

Maybe you will need to change /index.php/$1 to /testsystem/preview/index.php/$1 because your folder structure...

This will probably eliminate the index.php from the url..
Then we need to understand your needs to do the next step.
Remeber that the basic structure will always be www.site.com/class/function/id

http://ellislab.com/codeigniter/user-gui.../urls.html
(this may help)

Cheers!


Messages In This Thread
Codeigniter and htaccess mod_rewrite - by El Forum - 10-21-2012, 03:56 AM
Codeigniter and htaccess mod_rewrite - by El Forum - 10-22-2012, 04:48 AM
Codeigniter and htaccess mod_rewrite - by El Forum - 10-22-2012, 05:35 AM
Codeigniter and htaccess mod_rewrite - by El Forum - 10-22-2012, 05:59 AM
Codeigniter and htaccess mod_rewrite - by El Forum - 10-22-2012, 06:02 AM
Codeigniter and htaccess mod_rewrite - by El Forum - 10-22-2012, 06:10 AM
Codeigniter and htaccess mod_rewrite - by El Forum - 10-22-2012, 06:24 AM
Codeigniter and htaccess mod_rewrite - by El Forum - 10-23-2012, 04:26 AM
Codeigniter and htaccess mod_rewrite - by El Forum - 10-23-2012, 04:57 AM
Codeigniter and htaccess mod_rewrite - by El Forum - 10-23-2012, 10:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB