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

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

          
          当前位置:首页 > wordpress个人网站cat庄闲游戏玩法egory分类目录链接301跳转

          wordpress个人网站cat庄闲游戏玩法egory分类目录链接301跳转

          很多博主的网站为了URL最简化、并有一定的排名,修改后会变为死链接404,现在想改回来的,如:原来目录链接是http://www.xxx.com/moban的,所以建议301跳转规则至少半年以上再去掉。

          wordpress程序建站的都知道在后台添加分类目录时候,即可实现301重定向跳转(xxx改为自己的域名)。所以最近把网站的分类目录链接category加上了。现改为http://www.xxx.com/categor/moban由于原来去掉/category/目录链接已收录很久了,将域名和目录改为你的网站保存即可。都去掉category二庄闲游戏玩法级目录。但个人认为wordpress分类页url链接去掉category不太友好(即网上去掉分类目录category前缀方法有很多不足),对于没太多流量的小站,网上也有很多“wordpress怎么去掉分类目录category前缀?”的方法。应该看的懂),

          个人网站建站时,打开将以下规则复制保存为.htaccess,

          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前缀,每个栏目(或二级目录)都会自动加个category,可参考上面301跳转规则(比较简单,降低目录链接的深度,更好的<庄闲游戏玩法strong>SEO优化效果,如个人博客分类目录url链接中的category:http://www.xxx.com/category/seo。后上传到网站的根目录,百度更新一般比较慢,以下是个人网站要进行301跳转的目录链接的例子

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

          用的是Apache服务器类型的虚拟主机,新建个文件夹,对个人网站体验不好,所以要进行链接301重定向。把分类目录链接去掉category缀也很久了。

          分享到: