.htaccess不会重定向页面

时间:2014-05-12 10:36:11

标签: .htaccess mod-rewrite redirect

我想重定向特定页面网址并在.htaccess中使用以下内容

Options +FollowSymLinks 
RewriteEngine on 
RewriteBase / 
RewriteRule /antalya_apartment.php?bid=2&page=13 /antalya_apartment.php?bid=4&page=0 [R=301,L]
RewriteRule /antalya_apartment.php?bid=3&page=113 /antalya_apartment.php?bid=4&page=0 [R=301,L]
RewriteRule /antalya_apartment.php?bid=5&page=105 /antalya_apartment.php?bid=4&page=0 [R=301,L]
RewriteRule /antalya_apartment.php?bid=6&page=160 /antalya_apartment.php?bid=4&page=0 [R=301,L]
RewriteRule /antalya_apartment.php?bid=7&page=87 /antalya_apartment.php?bid=4&page=0 [R=301,L]
RewriteRule /antalya_apartment.php?bid=8&page=68 /antalya_apartment.php?bid=4&page=0 [R=301,L]

0 个答案:

没有答案