I'm trying to create a rule in .htaccess
using the following conditions:
RewriteEngine On
RewriteCond %{QUERY_STRING} ^year=2013$
RewriteRule ^/media/news/info.php$ /media/news/month=Month&date=1 [L,R=301]
Apparently this rule should work , but it doesn't since /media/news
are dynamically generated and apache
doesn't find those directories, and bounces the request to the scripting language who returns a 404
.
My question is how can i "make" apache
disregard the validation
for dynamic directories
and just make the user follow the RewriteRule
?