各位专家好,我的网址是index.asp,如何让他在打开这个网址时自动跳转到另一个地址index.asp?action=framon,谢谢 window.onload = function WindowOnLoad(){window.location="ms-siteactionsmenuhover";} 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 window.onload = function WindowOnLoad(){window.location="index.asp?action=framon";} BODY里面onload=="location='index.asp?action=framon';" 不好意思,我不懂JScript code我是想把论坛地址修改,请问这个代码是放到哪个文件里,能说的明白点吗? pageload里面Server.Transfer("index.asp?action=framon"); 在index.asp页面的最前面加<a href="index.asp?action=framon"></a> if (Request.QueryString["action"] == null || (Request.QueryString["action"] != null && !"framon".Equals(Request.QueryString["action"].ToString()))) Response.Redirect("index.asp?action=framon"); 301 redirect or 302 redirect?301 永久转移 搜索引擎支持302 临时转移 搜索引擎不支持以301为例ASP Redirect<%@ Language=VBScript %><%Response.Status="301 Moved Permanently"Response.AddHeader "Location","http://www.new-url.com/"%>ASP .NET Redirect<script runat="server">private void Page_Load(object sender, System.EventArgs e){Response.Status = "301 Moved Permanently";Response.AddHeader("Location","http://www.new-url.com");}</script> 求助:Repeater问题。。。。。。。急!! 发送邮件失败 asp.net mvc3 ajax 新手正则一问. 为什么连不上数据库? bs结构,页面程序的控制设置 如何在ASP.NET中把ppt格式转换为html格式 datalist排版。不方便啊。。搞了整整一晚。。搞不出来。我快发疯了。。。。 假如你有台服务器,搞什么最好? 奇怪的问题,超连接中使用确认对话框无效!!!!!!!!!!!!! webrequest 如何赚取需要登录的网站的内容 好奇怪的问题
{
window.location="index.asp?action=framon";
}
我是想把论坛地址修改,请问这个代码是放到哪个文件里,能说的明白点吗?
Server.Transfer("index.asp?action=framon");
<a href="index.asp?action=framon"></a>
Response.Redirect("index.asp?action=framon");
301 永久转移 搜索引擎支持
302 临时转移 搜索引擎不支持以301为例ASP Redirect
<%@ Language=VBScript %>
<%
Response.Status="301 Moved Permanently"
Response.AddHeader "Location","http://www.new-url.com/"
%>ASP .NET Redirect
<script runat="server">
private void Page_Load(object sender, System.EventArgs e)
{
Response.Status = "301 Moved Permanently";
Response.AddHeader("Location","http://www.new-url.com");
}
</script>