开发者

redirect using htaccess

开发者 https://www.devze.com 2023-01-26 14:18 出处:网络
I have this location开发者_如何学JAVA http://somesite.com/pot_system.shtml and i want to redirect to

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

精彩评论

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