I just used this code from a mod rewrite generator, but if I try to click on a link that refers to products.php it causes in an internal server errror:
RewriteEngine On
RewriteRule ^([^/]*)\.php$ /index.php?content=$1 [L]
Please help, I don’t even have a clue what to do here.
Edit:
I have another last question. Urls now look like this:
http://www.exampledomain.com/examplecat/
but I want to append parameters like this
http://www.exampledomain.com/examplecat/?id=5&sortcol=model&sortdirection=asc
At the moment it seems like my Rewrite Rule above doesn’t append it at all.
It should have been