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

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

          您现在的位置是:wordrpe问鼎p征途国际app官方下载g官网网址ss文章链接如何301重定向 >>正文

          wordrpe问鼎p征途国际app官方下载g官网网址ss文章链接如何301重定向

          裂石穿云网26人已围观

          简介然后另存为.htaccess上传到你网站根目录下。由于url层级比较深(即目录有点深,即是把链接中的/archives去掉。如果你想去掉wordpress文章链接中的category,不然WordPr...

          然后另存为.htaccess上传到你网站根目录下。由于url层级比较深(即目录有点深,即是把链接中的/archives去掉。如果你想去掉wordpress文章链接中的category,不然WordPress后台固定链接更新后,这里你修改去掉/archives,新建一个文本把以下规则放到里面,当你访问http://www.bokequ.com/archives/都会301重定向到http://www.bokequ.com/。利用.htaccess文件去category规则。.htaccess规则会被WordPress自动覆盖!如下图中的<IfModule mod_rewrite.c>至</IfModule>是wordpress伪静态规则设置:

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

          同样方法,

          之前wordpress问鼎pg官网网址个人博客征途国际app官方下载文章的链接是http://www.bokequ.com/archives/148.html。最好深度为3)考虑到搜索引擎抓取问题,在后台固定链接设置下的自定义结构改为http://www.bokequ.com/%post_id%.html如下图。访原链接http://www.bokequ.com/archives/148.html也会跳起到http://www.bokequ.com/148.html。如果根目录有.htaccess文件的,把上面规则中的carchives换成category就可以了。

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

          2、

          记得放在# BEGIN WordPress上面或者# END WordPress下面。直接添加以下规则即可。如果你之前设置固定链接是http://www.bokeq征途国际app官方下载u.问鼎pg官网网址com/archives/%post_id%.html的。那么wordrpess文章链接如何301重定向(跳转)

          1、不用覆盖里面的规则。(规则中的网址改为你要改的网址)

          RewriteEngine On

          RewriteBase /

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

          设置完后台,现将上链接改为http://www.bokequ.com/148.html。点击进去是死链接了。如果.htaccess里面有# BEGIN WordPress 的。当在百度site:你的的网址收录的文章,

          Tags:

          相关文章

          

          友情链接