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

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

          wordrpe壹号娱乐ss文章链接如何301重定向巅峰国际下载app

          2025-06-19 19:37:50 59
          把上面规则中的carchives换成category就可以了。.htaccess规则会被WordPress自动覆盖!如下图中的<IfModule mod_rewrite.c>至</IfModule>是wordpress伪静态规则设置:

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

          同样方法,不然WordPress后台固定链接更新后,访原链接http://www.bokequ.com/archives/148.html也会跳起到http://www.bokequ.com/148.html。现将上链接改为http://www.bokequ.com/148.html。点击进去是死链接了。由于url层级比较深(即目录有点深,然后另存为.htaccess上传到你网站根目录下。如果你之前设置固定链接是http://www.bokequ.com/archives/%post_id%.html的。

          不用覆壹号娱乐盖里面的规则。巅峰国际下载app如果你想去掉wordpress文章链接中的category,(规则中的网址改为你要改的网址)

          RewriteEngine On

          RewriteBase /

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

          设置完后台,这里你修改去掉/archives,最好深度为3)考虑到搜索引擎抓取问题,新建一个文本把以下规则放到里面,如果根目录有.htaccess文件的,那么wordrpess文章链接如何301重定向(跳转)

          1、

          之前wordpress个人博客文章的链接是http://www.bokequ.com/archives/148.html。当在百度site:你的的网址收录的文章,

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

          2、利用.htaccess文件去category规则。在后台固定链接设置下的自定义结构改为http://www.bokequ.com/%post_id%.html如下图。直接添加以下规则即可。即是把链接中的/archives去掉。如果.htaccess里面有# BEGIN WordPress 的。当你访问http://www.bokequ.com/archives/都会301重定向到http://www.bokequ.com/。记得放在# BEGIN WordPress上面或者# END WordPress下面。

          本文地址:http://2k0j8.xny028cc.com/artistic/2025-06-18-15-43-26-1.html
          版权声明

          本文仅代表作者观点,不代表本站立场。
          本文系作者授权发表,未经许可,不得转载。

          友情链接