我想转换
网址:
http://example.com/calendar/?start=1281052769&end=1283731169
进入网址:
http://example.com/calendar/1281052769/1283731169
这是我尝试过的:
RewriteEngine on
RewriteCond %{QUERY_STRING} start=(.*)
RewriteCond %{QUERY_STRING} end=(.*)
RewriteRule ^calendar$ http://example.com/calendar/%1/%2[R,L]
RewriteEngine On
RewriteBase /
RewriteCond %{QUERY_STRING} ^start\=([^&]+)\&end\=([^&]+)$
RewriteRule ^$ /calendar/%1/%2 [R,L]
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)