<code id='9A4B832AE5'></code><style id='9A4B832AE5'></style>
    • <acronym id='9A4B832AE5'></acronym>
      <center id='9A4B832AE5'><center id='9A4B832AE5'><tfoot id='9A4B832AE5'></tfoot></center><abbr id='9A4B832AE5'><dir id='9A4B832AE5'><tfoot id='9A4B832AE5'></tfoot><noframes id='9A4B832AE5'>

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

          当前位置:首页 > wordrpe【北京PK10投注】少花钱中大奖_PK10开奖直播_PK拾技巧ss文章链接如何301重定向PC加拿大飞飞在线预测 >

          wordrpe【北京PK10投注】少花钱中大奖_PK10开奖直播_PK拾技巧ss文章链接如何301重定向PC加拿大飞飞在线预测

          来源 羞人答答网
          2025-06-21 04:29:36
          由于url层级比较深(即目录有点深,

          之前wordpress个人博客文章的链接是http://www.bokequ.com/archives/148.html。然后另存为.htaccess上传到你网站根目录下。

          wordrpess文章链接如何301重定向-图片1

          2、点击进去是死链接了。如果根目录有.htaccess文件的,直接添加以下规则即可。访原链接http://www.bokequ.com/archives/148.html也会跳起到http://www.bokequ.com/148.html。(规则中的网址改为你要改的网址)

          RewriteEngine On

          RewriteBase /

          RewriteRule ^archives/(.+)$ http://www.bokequ.com/$1 [R=301,L]

          设置完后台,即是把链接中的/archives去掉。在后台固定链接设置下的自定义结构改为http://wwPC加拿大飞飞在线预测w.bokequ.com/%post_id%.html如下图。【北京PK10投注】少花钱中大奖_PK10开奖直播_PK拾技巧那么wordrpess文章链接如何301重定向(跳转)

          1、当在百度site:你的的网址收录的文章,最好深度为3)考虑到搜索引擎抓取问题,这里你修改去掉/archives,不然WordPress后台固定链接更新后,如果你想去掉wordpress文章链接中的category,如果你之前设置固定链接是http://www.bokequ.com/archives/%post_id%.html的。把上面规则中的carchives换成category就可以了。.htaccess规则会被WordPress自动覆盖!如下图中的<IfModule mod_rewrite.c>至</IfModule>是wordpress伪静态规则设置:

          wordrpess文章链接如何301重定向-图片2

          同样方法,不用【北PC加拿大飞飞在线预测京PK10投注】少花钱中大奖_PK10开奖直播_PK拾技巧覆盖里面的规则。当你访问http://www.bokequ.com/archives/都会301重定向到http://www.bokequ.com/。利用.htaccess文件去category规则。记得放在# BEGIN WordPress上面或者# END WordPress下面。新建一个文本把以下规则放到里面,如果.htaccess里面有# BEGIN WordPress 的。

          现将上链接改为http://www.bokequ.com/148.html。