我有这个位置
http://somesite.com/pot_system.shtml
我希望重定向到
http://somesite.com/build_me_today
我想通过htaccess做到这一点
我用过
Redirect /pot_system.shtml http://somesite.com/build_me_today
答案 0 :(得分:1)
使用301重定向:
Redirect 301 /pot_system.shtml /build_me_today
答案 1 :(得分:1)
最简单的方法:
Redirect /pot_system.shtml /build_me_today
答案 2 :(得分:1)
@Matt:
Options +FollowSymLinks
RewriteEngine on
RewriteRule /pot_system.shtml http://somesite.com/build_me_today [R=301,L]