whats wrong with this reg expression
Posted: Thu Jul 10, 2008 5:57 am
whats wrong with this reg expression, it does nothing
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
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