好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

静态页如何做301重定向??_html/css_WEB-ITnose

XXX测试数据 定向到 HdhCmsTestXXX测试数据
不使用iis


回复讨论(解决方案)

this.location = "http://HdhCmsTestbaidu测试数据";

this.location = "http://HdhCmsTestbaidu测试数据";
用js嘛?详细点


this.location = "http://HdhCmsTestbaidu测试数据";
用js嘛?详细点
是用JS,就简单地这样一句话
这种方式貌似只能302而不是301
可以考虑结合后台程序使用



this.location = "http://HdhCmsTestbaidu测试数据";
用js嘛?详细点
是用JS,就简单地这样一句话
这种方式貌似只能302而不是301
可以考虑结合后台程序使用
我使用.net 做的 程序怎么弄啊。




this.location = "http://HdhCmsTestbaidu测试数据";
用js嘛?详细点
是用JS,就简单地这样一句话
这种方式貌似只能302而不是301
可以考虑结合后台程序使用
我使用.net 做的 程序怎么弄啊。

Response.Status="301 Moved Permanently" Response.StatusCode = 301;Response.Headers.Add("Location","http://HdhCmsTestbaidu测试数据"); 

Response.Status = "301 Moved Permanently";Response.StatusCode = 301;Response.Headers.Add("Location","http://HdhCmsTestbaidu测试数据"); 

少写了个引号

查看更多关于静态页如何做301重定向??_html/css_WEB-ITnose的详细内容...

  阅读:37次