📜  用域标记 url - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:46.702000             🧑  作者: Mango

代码示例1
RewriteEngine on

RewriteCond %{THE_REQUEST} ^(GET|POST)\ /\?p=11\ HTTP
RewriteRule ^ http://newwpsite.com/renting-a-scooter? [R=301,L]

RewriteCond %{THE_REQUEST} ^(GET|POST)\ /\?p=12\ HTTP
RewriteRule ^ http://newwpsite.com/scooter-tips? [R=301,L]