i have a problem with .htaaccess file.
I'm trying to transform url like www.example.com/news/2
to www.example.com/index.php?news=$1
.
So far i've tried:
RewriteRule ^news/([0-9]+)/?$ /index.php?news=$1 [NC,L]
This leads me to an error because it tries to find all sources like: www.example.com/news/styles.css
etc.
What's the problem? Hta file is in the root.