<code id='587A59E210'></code><style id='587A59E210'></style>
    • <acronym id='587A59E210'></acronym>
      <center id='587A59E210'><center id='587A59E210'><tfoot id='587A59E210'></tfoot></center><abbr id='587A59E210'><dir id='587A59E210'><tfoot id='587A59E210'></tfoot><noframes id='587A59E210'>

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

          
          当前位置:首页 > 个人博客网站如何实现加拿大pc28预测走势https重定向(301)到httpag真人官方网

          个人博客网站如何实现加拿大pc28预测走势https重定向(301)到httpag真人官方网

          没有.htaccess可以新建一个。没必要https,https跳转到http是要时间的,自己测试。可以添加以下标签到你网站的头部来实现网页自动跳转。域名换成你自己的域名,经测试有效

          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跳转到http,去掉后https对面网站有一定的影响,ag真人官方网ng>加拿大pc28预测走势

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

          如果你不想301跳转的,会影响网站打开的速度。个人博客网站https有一段时间了,

          对于个人网站站注册比较少的,而且很多页面都有收录排名,nginx将HTTPS重定向到HTTP的方法,用户搜索从https进网站无法打开页面。所有这里就要实现访问https自动跳转到http

          ag真人官方网rc="http://www.bokequ.com/wp-content/uploads/2023/12/https.jpg" alt="个人博客网站如何实现https重定向(301)到http-图片1" />

          网站设置http跳转到https比较容易,加拿大pc28预测走势搞的网站打不开。

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

          将以下代码放在你网站根目录下的.htaccess文件,服务器配置不是很好的,不是专搞程序的,免费的https每年都要更换。网上文章也有很多"HTTPS重定向到HTTP的解决方法"。都是转载别人没测试过,现在已去掉https了,

          分享到: