i am putting this in a .htaccess file and uploading it to the root directory. I want any link pointing to /estate-agents/<any file name>.html to redirect to /search/index.php?type=estate-agents
heres my mod rewrite condition
Code: Select all
RewriteEngine on
RewriteRule ^/estate-agents/(.*?).html$ /search/index.php?type=$1