开发者

redirect using htaccess

I have this location开发者_如何学JAVA

http://somesite.com/pot_system.shtml

and i want to redirect to

http://somesite.com/build_me_today

I want to do this via htaccess is that possible

I used

Redirect /pot_system.shtml http://somesite.com/build_me_today


Simplest way:

Redirect /pot_system.shtml /build_me_today


Using a 301 redirect:

Redirect 301 /pot_system.shtml /build_me_today


@Matt:

Options +FollowSymLinks
RewriteEngine on
RewriteRule /pot_system.shtml http://somesite.com/build_me_today [R=301,L]
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜