Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/regex/19.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Regex iis7 url重写数千页_Regex_Iis 7_Url Rewriting - Fatal编程技术网

Regex iis7 url重写数千页

Regex iis7 url重写数千页,regex,iis-7,url-rewriting,Regex,Iis 7,Url Rewriting,我继承了一个有大量搜索的站点,以前的开发人员使用表单进行搜索,因此有数千个格式不好的URL需要重写,我不确定最好的方法(或操作方法)。我使用url重写友好的url和正常的seo规范化等,但从来没有这样的事情。我对正则表达式一无所知 样本重写: /search_results.php/?resultpage=52&area=&minimumPrice=25000&maximumPrice=8000000&conversion=euros&orderby=pr

我继承了一个有大量搜索的站点,以前的开发人员使用表单进行搜索,因此有数千个格式不好的URL需要重写,我不确定最好的方法(或操作方法)。我使用url重写友好的url和正常的seo规范化等,但从来没有这样的事情。我对正则表达式一无所知

样本重写:

/search_results.php/?resultpage=52&area=&minimumPrice=25000&maximumPrice=8000000&conversion=euros&orderby=price_desc
应转到
/search results/

/search_results.php/?resultpage=5&area=Central+Algarve
应前往
/area/central algarve/

我并不反对将带有任何查询字符串的所有
.php
扩展发送到主页,因为实际上有数千个

感激地接受任何帮助或建议