URLs look something like this:
Code:
http://mysite.com/index.php?controller=1&method=2&arg=3
with the .htaccess added it looks like:
Code:
http://mysite.com/1/2/3
Now if I want to go to a method within an index class I would have to do this:
Code:
http://mysite.com/index/about
My question is how would I be able to access the about page without putting /index/ before it? I've tried adding this to my .htaccess file:
Code:
RewriteRule ^(.*)$ index.php
which does work since I have to go to /app/view/css/style.css/ to access my stylesheets it breaks them.

How would I do this without breaking my stylesheets?

This is my .htaccess file:
Code:
Options +Indexes +FollowSymLinks +Multiviews

RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/(.*)$ index.php?url=$1&method=$2 [QSA,L]

RewriteRule ^(.*)$ index.php
Thanks