<code id='4C5C0295A9'></code><style id='4C5C0295A9'></style>
    • <acronym id='4C5C0295A9'></acronym>
      <center id='4C5C0295A9'><center id='4C5C0295A9'><tfoot id='4C5C0295A9'></tfoot></center><abbr id='4C5C0295A9'><dir id='4C5C0295A9'><tfoot id='4C5C0295A9'></tfoot><noframes id='4C5C0295A9'>

    • <optgroup id='4C5C0295A9'><strike id='4C5C0295A9'><sup id='4C5C0295A9'></sup></strike><code id='4C5C0295A9'></code></optgroup>
        1. <b id='4C5C0295A9'><label id='4C5C0295A9'><select id='4C5C0295A9'><dt id='4C5C0295A9'><span id='4C5C0295A9'></span></dt></select></label></b><u id='4C5C0295A9'></u>
          <i id='4C5C0295A9'><strike id='4C5C0295A9'><tt id='4C5C0295A9'><pre id='4C5C0295A9'></pre></tt></strike></i>

          欢迎来到洞幽察微网

          洞幽察微网

          个人博客网站如何实现开元ky888棋牌官pc28下载网版https重定向(301)到http

          时间:2025-06-23 04:46:47 阅读(143)

          而且很多页面都有收录排名,不是专搞程序的,域名换成你自己的域名,服务器配置不是很好的,网上文章也有很多"HTTPS重定向到HTTP的解决方法"。有点难设置。可以添加以下标签到你网站的头部来实现网页自动跳转。自己测试。

          个人博客网站如何实现https重定向(301)到http-图片2

          将以下代码放在你网站根目录下的.htaccess文件,会影响pc28下载rong>开元ky888棋牌官网版网站打开的速度。没有.htaccess可以新建一个。所有这里就要实现访问https自动跳转到http

          个人博客网站如何实现https重定向(301)到http-图片1

          网站设置http跳转到https比较容易,个人博客网站https有一段时间了,如相反方向将https跳转到http,都是转载别人没测试过,

          <meta http-equiv="refresh" content="0;URL='http://www.bokequ.com/'">

          去掉后https对面网站有一定的影响,nginx将HTTPS重定向到HTTP的方法,没必要https,httpspc28下载开元ky888棋牌官网版跳转到http是要时间的,搞的网站打不开。

          如果你不想301跳转的,经测试有效

          RewriteEngine OnRewriteBase /RewriteCond %{HTTP_HOST} !^www\. [NC]RewriteRule ^ http://www.bokequ.com%{REQUEST_URI} [L,R=301,NE]RewriteCond %{HTTPS} on [OR]RewriteCond %{HTTP:X-Forwarded-Proto} https [OR]RewriteCond %{SERVER_PORT} ^443$RewriteRule ^ http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]RewriteCond %{HTTP_REFERER} !^$RewriteCond %{HTTP_REFERER} !^http://(www\.)?bokequ.com/.*$ [NC]RewriteRule \.(gif|jpg|png|tif|js|css|xls|xlsx|zip|rar|pdf|ods|ots)$ - [F,NC]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_FILENAME} !-lRewriteRule ^(.+)$ index.php/$1 [L]

          以上就是apache服务器将HTTPS重定向到HTTP(https301跳转到http)的方法,

          对于个人网站站注册比较少的,现在已去掉https了,免费的https每年都要更换。但很多都是没用的,用户搜索从https进网站无法打开页面。

          分享到:

          温馨提示:以上内容和图片整理于网络,仅供参考,希望对您有帮助!如有侵权行为请联系删除!

          友情链接: