本次为大家带来的是网页301重定向自动跳转代码大全
小编为大家带来了几种的网页自动跳转代码,如下:
301重定向跳转代码:
(在html页头部分插入以下代码即可)
<meta http-equiv="refresh" content="0; url=这里改成你要跳转的网址"
网页直接跳转代码:
(创建一个index.html空白页面然后把下面的代码复制进去即可)
<html> <head> <meta http-equiv="Content-Language" content="zh-CN"> <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312"> <meta http-equiv="refresh" content="0.01;url=这里改成你要跳转的网址"> <title></title> </head> <body> </body> </html>
第二种网页直接跳转代码:
<html><head><title>稍候。。。</title></head> <body> <script language='javascript'>document.location = '这里改成你要跳转的网址'</script> </body> </html>
文章作者:博客之家
文章標題:网页301重定向自动跳转代码
文章鏈接:https://www.likinming.com/2672.html
本站所有文章除特別聲明外,均採用 CC BY-NC-SA 4.0 許可協議,轉載請註明來自博客之家 !
文章標題:网页301重定向自动跳转代码
文章鏈接:https://www.likinming.com/2672.html
本站所有文章除特別聲明外,均採用 CC BY-NC-SA 4.0 許可協議,轉載請註明來自博客之家 !

发表评论