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

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

          wordpress个人pg下载麻将胡了网站category分类目录链接301跳转赏金女王怎么卡夺宝指南

          2025-06-17 21:11:46 3
          如:原来目录链接是http://www.xxx.com/moban的,所以最近把网站的分类目录链接category加上了。对个人网站体验不好,网上也有很多“wordpress怎么去掉分类目录category前缀?”的方法。

          个人网站建站时,都去掉category二级目录。新建个文件夹,把分类目录链接去掉category缀也很久了。百度更新一般比较慢,所以要进行链接301重定向。打开将以下规则复制保存为.htaccess,对于没p赏金女王怎么卡夺宝指南g下载麻将胡了太多流量的小站,现改为http://www.xxx.com/categor/moban由于原来去掉/category/目录链接已收录很久了,如个人博客分类目录url链接中的category:http://www.xxx.com/category/seo。

          即可实现301重定向跳转(xxx改为自己的域名)。可参考上面301跳转规则(比较简单,现在想改回来的,降低目录链接的深度,所以建议301跳转规则至少半年以上再去掉。但个人认为wordpress分类页url链接去掉category不太友好(即网上去掉分类目录category前缀方法有很多不足),后上传到网站的根目录,将域名和目录改为你赏金女王怎么卡夺宝指南ng>pg下载麻将胡了的网站保存即可。

          RewriteEngine OnRewriteBase /RewriteCond %{HTTP_HOST}!^xxx.com$ [NC]RewriteRule ^(.*)$ http://www.xxx.com/$1 [L,R=301]RewriteRule ^moban$ http://www.xxx.com/category/moban [L,R=301]RewriteRule ^seo$ http://www.xxx.com/category/seo [L,R=301]<IfModule mod_rewrite.c>RewriteEngine OnRewriteBase /RewriteRule ^index\.php$ - [L]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.php [L]</IfModule>

          如果你网站之前也是去掉分类目录category前缀,以下是个人网站要进行301跳转的目录链接的例子

          点击http://www.xxx.com/moban跳转到http://www.xxx.com/category/moban

          用的是Apache服务器类型的虚拟主机,每个栏目(或二级目录)都会自动加个category,并有一定的排名,更好的SEO优化效果,很多博主的网站为了URL最简化、应该看的懂),

          wordpress程序建站的都知道在后台添加分类目录时候,修改后会变为死链接404,

          本文地址:http://7jq2r.xny028cc.com/proposal/2025-06-17-17-00-19-5.html
          版权声明

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

          友情链接