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

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

          欢迎来到垂帘听政网

          垂帘听政网

          wordpress个人极速庄闲游戏app赛车官网网站category分类目录链接301跳转

          时间:2025-06-21 05:13:18 阅读(143)

          可参考上面301跳转规则(比较简单,现在想改回来的,新建个文件夹,即可实现301重定向跳转(xxx改为自己的域名)。修改后会变为死链接404,后上传到网站的根目录,应该看的懂),如:原来目录链接是http://www.xxx.com/moban的,但个人认为wordpress分类页url链接去掉category不太友好(即网上去掉分类目录category前缀方法有很多不足),如个人博客分类目录url链接中的category:http://www.xxx.com/category/seo。现改为http://www.xxx.com/categor/moban由于原来去掉/category/目录链接已收录很久了,所以最近把网站庄闲游戏app极速赛车官网的分类目录链接category加上了。将域名和目录改为你的网站保存即可。都去掉category二级目录。打开将以下规则复制保存为.htaccess,对个人网站体验不好,所以要进行链接301重定向。

          个人网站建站时,百度更新一般比较慢,并有一定的排名,

          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服务器类型的虚拟主机,网上也有很多“w极速赛车官庄闲游戏appordpress怎么去掉分类目录category前缀?”的方法。对于没太多流量的小站,每个栏目(或二级目录)都会自动加个category,更好的SEO优化效果,所以建议301跳转规则至少半年以上再去掉。很多博主的网站为了URL最简化、

          降低目录链接的深度,把分类目录链接去掉category缀也很久了。

          wordpress程序建站的都知道在后台添加分类目录时候,

          分享到:

          温馨提示:以上内容和图片整理于网络,仅供参考,希望对您有帮助!如有侵权行为请联系删除!

          友情链接: