[英]Helicon ReWrite rule for static pages
What is the Helicon rewrite cond /rule i need to use to redirect this one static page: 我需要用来重定向此静态页面的Helicon重写cond / rule是什么:
/page.asp?pg=ovens /page.asp?pg=ovens
to 至
http://www.rdo.co.uk/products.asp?id=134&rs=1&sel_supplier=280 http://www.rdo.co.uk/products.asp?id=134&rs=1&sel_supplier=280
This should work for you: 这应该为您工作:
RewriteEngine On
RewriteCond %{THE_REQUEST} ^(GET|POST)\ /page\.asp\?pg=ovens\ HTTP
RewriteRule ^ http://www.rdo.co.uk/products.asp?id=134&rs=1&sel_supplier=28 [R,L]
It will check the parameter after pg
and if it is ovens
then it will redirect it to the page you specified, if it doesn't then it will skip it. 它将在
pg
之后检查参数,如果是ovens
则将其重定向到您指定的页面,如果没有,则将其跳过。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.