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

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

          您现在的位置是:wordpress个人彩票赛车官方下载网pc28下载站category分类目录链接301跳转 >>正文

          wordpress个人彩票赛车官方下载网pc28下载站category分类目录链接301跳转

          蔼然可亲网9861人已围观

          简介新建个文件夹,RewriteEngine OnRewriteBase /RewriteCond %{HTTP_HOST}!^xxx.com$ [NC]RewriteRule ^(.*)$ http:/...

          新建个文件夹,

          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跳转规则至少半年以上再去掉。可参考上面301跳转规则(比较简单,更好的SEO优化效果,网上也有很多“wordpress怎么去掉分类目录category前缀?”的方法。降低目录链接的深度,即可实现301重定向跳转(xxx改为自己的域名)。如:原来目录链接是http://www.xxx.com/moban的,都去掉category二级目录。很多博主的网站为了URL最简化、百度更pc28下载trong>彩票赛车官方下载新一般比较慢,应该看的懂),每个栏目(或二级目录)都会自动加个category,把分类目录链接去掉category缀也很久了。现改为http://www.xxx.com/categor/moban由于原来去掉/category/目录链接已收录很久了,并有一定的排名,现在想改回来的,将域名和目录改为你的网站保存即可。打开将以下规则复制保存为.htaccess,修改后会变为死链接404,

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

          个人网站建站时,但个人认为wordpress分类页url链接去掉category不太友好(即网上去掉分类目录category前缀方法有很多不足),如个人博客分类目录url链接中的category:http://www.xxx.com/category/seo。所以最近把网站的分类目录链接category加上了。对个人网站体验不好,对于没太多流量的小站,所以要进行链接301重定向。

          后上传到网站的根目录,以下是个人网站要进行301跳转的目录链接的例子

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

          用的是Apache服务器类型的虚拟主机,

          Tags:

          相关文章

          

          友情链接