Welcome Guest, Not a member yet? Register   Sign In
url rewriting vs routing
#2

[eluser]Italo Domingues[/eluser]
The correct way is you make the settings in the file routes.php friendly url that is in application/config. For each product you must create a mapping in the user guide you can see how (http://ellislab.com/codeigniter/user-gui...uting.html).

Have to hide the index.php, create file .htaccess file in the directory where the index.php with the following content:

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


Messages In This Thread
url rewriting vs routing - by El Forum - 05-04-2011, 05:37 AM
url rewriting vs routing - by El Forum - 05-04-2011, 07:39 AM
url rewriting vs routing - by El Forum - 05-04-2011, 07:45 AM
url rewriting vs routing - by El Forum - 05-04-2011, 07:53 AM
url rewriting vs routing - by El Forum - 05-04-2011, 11:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB