首页 > 资料收集 > [译]WordPress永久链接改变重定向插件

[译]WordPress永久链接改变重定向插件

2009年12月18日 张筱祥 发表评论 阅读评论

 

原文:

With this plugin, you can safely change your permalink structure without breaking the old links to your website,and even doesn’t affect your search engine rankings.

introduction

Many people want to change their permalink structure,for example, from /%year%/%monthnum%/%day%/%postname%/ to /%category%/%postname%/

But doing so will make all pages indexed by search engines become invalid,moreover, losing visitors from other sites or bookmarks that links to you.

There is a way to tell the search engines (and browsers) that the page has permenantly moved, and that the old address should be replaced by the new one . It’s called a “301 Redirect”, also known as a Permanent Redirect.When you do this, Search engines will update their indexes quickly and you won’t lose your pagerank.you will continue to receive traffic as though nothing had changed. This works for search engines, bookmarks, and links from other sites.

By now, you know how can you change your permalinks without losing the traffic you’re already getting. You can download this Permalink Migration Plugin to achieve this for you.

This plugin will generates a “301 Redirect” when user or spider visit your site through old permalinks,and redirect them to the new permalinks of the same post.

Do not fear to change your permalink structure now, you would never lose any visitors due to changed addresses.

  download  

Installation
  1. unzip and upload the file into your wp-content/plugins/ directory.
  2. Activate it on your Admin Panel->Plugin Management page.
Usage
  1. goto admin panel->options->PermalinksMigration.set the old permanlink structure of your site.
  2. goto admin panel->options->Permalinks.change the new permalink structure to what you want. (personally I recommend /%category%/%postname%/, you can read @ArunBasilLal’s tour  to learn more about how to Optimizing Permalinks for Better SEO)
  3. Done,enjoy it.
Acknowledgements

Many thanks to all of you, who have encouraged me to update my articles  and code, and who sent in bug reports and fixes.

原文地址:http://www.deanlee.cn/wordpress/permalinks-migration-plugin/

 

译文:

有了这个插件,您可以安全地更改,而不中断对您的网站的链接您的永久链接旧的结构,甚至不会影响搜索引擎排名。

介绍
很多人希望改变其固定链接结构,例如从/%year%/%monthnum%/%day%/%postname%/至/%category%/%postname%/
但这样做会之前被搜索引擎索引的所有网页变得无效,而且,失去从其他网站或书签来的访客。
有一种方法来告诉搜索引擎(和浏览器)该页面permenantly感动,而旧的地址应该是由新的取代。它被称为“301重定向”,也称为永久Redirect.。这样做众所周知,搜索引擎会迅速更新其索引,你不会失去您的PageRank。
这对搜索引擎,书签工程,以及来自其他网站的链接来说都没有任何损失。
现在,你知道了怎样才能在不失去你的已有链接的条件下改变永久链接。下载此固定链接迁移插件,就可以实现你的要求。
这个插件将产生一个“301重定向”当用户或蜘蛛访问您通过旧的永久链接网站,并转送到同一位置的新的永久链接。
不要害怕改变您的永久链接结构,现在,你永远不会丢失任何用户因变更地址。

安装
解压缩并上传到您的wp-content/plugins文件/目录。
激活您的管理员面板它,“插件管理页面。

用法
转到管理面板选项,”PermalinksMigration.set您网站的旧permanlink结构。
转到管理面板选项,”Permalinks.change新的固定链接结构,以你想要的。
(我个人推荐/%category%/%postname%/,您可以阅读@ ArunBasilLal此行更多地了解如何更好地优化永久链接的搜索引擎优化)

鸣谢

非常感谢大家,特别感觉那些曾经鼓励我更新我的文章和代码,给我发送错误报告和修正的那些朋友。

Ps:张筱祥博客使用此插件之后,之前百度和google收录的页面可以重定向到我新的固定链接了。比如你访问google收录的网址:www.zxxblog.com/archives/188 ,本站会自动跳转到新网址:www.zxxblog.com/188 。使用新的链接,每篇文章都有一个编号,如果以后需要回访一篇文章,只需要记住它的编号即可快速浏览!

Popularity: 7% [?]

你可能对下面的内容也感兴趣

分类: 资料收集 标签: , , 阅读:1,240
  1. 2010年1月8日15:33 | #1

    这个是不是只支持wp默认的那几个格式?自定义固定链接可以吗,我以前也是postname,后来嫌太长了干脆直接用id。5

    • 张筱祥
      2010年1月8日18:13 | #2

      可以啊,就是把以前的改成现在的,如果以前的被收录了的话,会自动跳转到新的呢。

  2. 2009年12月19日11:52 | #3

    可惜我的博客已经用/%postname%/好久了~~

  1. 本文目前尚无任何 trackbacks 和 pingbacks.

3718150474633154929112424204136344840324513627301092612313516391742725322194423144338215828