Welcome Guest, Not a member yet? Register   Sign In
friendly url to css, images, js and etc. folders using routes.php ?
#2

[eluser]keevitaja[/eluser]
move your assets folder to /assets (same dir where .htaccess is) and change your .htaccess file:

Code:
RewriteEngine On
RewriteCond $1 !^(index.php|system|robots.txt|sitemap.xml|favicon.ico|assets)
RewriteRule ^(.*)$ /index.php/$1 [L]


no additional routing is needed!

it seems to be an old CI version you are using. not sure if system folder has to be in .htaccess


Messages In This Thread
friendly url to css, images, js and etc. folders using routes.php ? - by El Forum - 09-26-2012, 07:31 AM



Theme © iAndrew 2016 - Forum software by © MyBB