重定向使用htaccess的 [英] redirect using htaccess

查看:121
本文介绍了重定向使用htaccess的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这样的位置

  http://somesite.com/pot_system.shtml
 

和我想重定向到

  http://somesite.com/build_me_today
 

我想通过htaccess的做到这一点是可能的。

我用

 重定向/pot_system.shtml http://somesite.com/build_me_today
 

解决方案

最简单的方法:

 重定向/pot_system.shtml / build_me_today
 

I have this location

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

这篇关于重定向使用htaccess的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆