Forum Moderators: phranque
RewriteEngine On
RewriteRule ^(.*)/$ content.php?url=$1 [L]
RewriteRule ^news/(.*)/$ show_news.php?url=$2 [L]
The problem is, when I point my browser to the second rewrite rule, e.g. url.com/news/example/, it redirects me to the location of the first rewrite rule, so the output would be like url.com/content.php?url=example, where it should be url.com/show_news.php?url=example.
How do I need to edit my code for both the rewrite rules to work in conjunction?
Thank you.