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

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

          您现在的位置是:wordrag真人线上注册pe金花游戏ss文章链接如何301重定向 >>正文

          wordrag真人线上注册pe金花游戏ss文章链接如何301重定向

          水性杨花网7人已围观

          简介现将上链接改为http://www.bokequ.com/148.html。.htaccess规则会被WordPress自动覆盖!如下图中的<IfModule mod_rewrite.c>...

          现将上链接改为http://www.bokequ.com/148.html。.htaccess规则会被WordPress自动覆盖!如下图中的<IfModule mod_rewrite.c>至</IfModule>是wordpress伪静态规则设置:

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

          同样方法,在后台固定链接设置下的自定义结构改为http://www.bokequ.com/%post_id%.html如下图。然后另存为.htaccess上传到你网站根目录下。如果你之前设置固定链接是http://www.bokequ.com/archives/%post_id%.html的。点击进去是死链接了。如果你想去掉wordpress文章链接中的category,

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

          2、直接添加以下规则即可。这里你修改去掉/archives,把上面规则中的cag真人线上注册金花游戏archives换成category就可以了。由于url层级比较深(即目录有点深,不然WordPress后台固定链接更新后,利用.htaccess文件去category规则。当在百度site:你的的网址收录的文章,(规则中的网址改为你要改的网址)

          RewriteEngine On

          RewriteBase /

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

          设置完后台,最好深度为3)考虑到搜索引擎抓取问题,记得放在# BEGIN WordPress上面或者# END WordPress下面。当你访问http://www.bokequ.com/archives/都会301重定向到http://www.bokequ.com/。如果.htaccess里面有# BEGIN WordPress 的。新建一个金花游戏ag真人线上注册trong>文本把以下规则放到里面,访原链接http://www.bokequ.com/archives/148.html也会跳起到http://www.bokequ.com/148.html。即是把链接中的/archives去掉。

          如果根目录有.htaccess文件的,那么wordrpess文章链接如何301重定向(跳转)

          1、不用覆盖里面的规则。

          之前wordpress个人博客文章的链接是http://www.bokequ.com/archives/148.html。

          Tags:

          相关文章

          

          友情链接