I have this situation:
all urls like /sport.html
hide the real url /archive.php?action=search§ion=sport
#This is the RULE:
RewriteRule ^([a-zA-Z_]+([a-zA-Z0-9_]+)?)(-([0-9]+))?\.html$ /archive.php?action=search§ion=$1 [L]
Now I want to hide the real url and all direct access to the page archive.php
but I receive the redirect loop error with this rule:
RewriteRule ^archive\.php.*$ /404.html [F,NC,L]