Hi
I use this:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?action=$1 [QSA,L]
Which works as it is supposed to (makes www.example.com/something redirect to : index.php?action=something). I want to save each request in a DB.So if i insert the $_GET['action'] variable to the DB, instead of "something" i get these:
something
template/img/pagination.gif
template/img/pagination-item.gif
favicon.ico
and anything that gets requested by my site's files (css for example). Is there a way to filter the requests so that I only get the user generated requests (in my case: "something") and not the browser's requests?
I got stuck on this one.