inicio mail me! (Change # to @) sindicaci;ón

成功升级2.06 分享下

Upgrading WordPress « WordPress Codex

翻译下我认为有必要的跟大家共享

Let us assume your blog has a URI like http://example.com/wordpress/.

假设你的blog地址是http://example.com/wordpress/.

The steps to a healthy upgrade are as follows:

Step 1: Backup Database Tables and Files including .htaccess

Here, the objective is to save the data, and your customizations

Step 1a: Save Data 备份数据

Use phpMyAdmin or other appropriate tools provided by your webhost, to backup the database used by WordPress.
phpMyAdmin 或其他工具来备份WP所用的数据库.

Step 1b: Save Customizations 备份定制内容

Basically, backup the files that you have changed or added since you installed the standard WordPress.
Use an FTP tool
to download a copy of all the files on the server, in the directory
where you installed WordPress, including the .htaccess files if you
have been playing with it. Backup at least the .htaccess file, the files used by your current theme (which will be in the /wp-content/ directory), the /wp-images/
directory with your uploaded images and files, any WordPress core files
that you modified to use some “hack” directory, and the wp-config.php file which contains your database username, password etc.

基本上,备份所有你改动过或新添加的内容. 用FTP软件整个WP目录内容都复制下来, 一定记得要包括.htaccess 如果你改动过他.
如果你懒的话,那至少你要备份.htaccess文件和你主题所用的文件 (应该在 /wp-content/目录里), /wp-images/中你上传的图片和文件,以及改动过的WP核心文件还有存有你数据库帐号密码的wp-config.php文件.

Step 2: Deactivate Plugins 哈 不知道中文改怎么翻译,就说成 使插件无效吧

Deactivate all the Plugins you use at the Plugin Management Page
( http://example.com/wordpress/wp-admin/plugins.php ). Some Plugins
might not work with WordPress 2.0.6, and that is why you want to
deactivate them all. This will ensure that you don’t end up with an
upgraded-but-broken installation of WordPress after the upgrade
process.

在插件控制页面使全部插件无效.这是因为有些插件可能在2.06中不工作.这可以使你避免升级不成功.

Step 3: Overwrite Files 覆盖文件

Get the latest and greatest WordPress (http://wordpress.org/download)
and upload it to the WordPress directory, overwriting all the files
that exist there. This will preserve your images and themes. What if
something goes wrong, you ask? Well, did you not create a backup of all
files in Step 1? You can fall back upon them in the worst case scenario. Deleting your old files on the server
and uploading the newer files from the new version you downloaded is an
alternative which will ensure that the files on the server have been
replaced for sure.
没啥说的 确认步骤1要求的备份都做好了 然后下载最新的WP升级就是了

Step 4: Run the upgrade script 运行升级脚本

Visit your blog’s Upgrade Page ( http://example.com/wordpress/wp-admin/upgrade.php ) and follow the instructions that are displayed.
传好后 到http://example.com/wordpress/wp-admin/upgrade.php 跟指令完成升级

Step 5: Reactivate Plugins one by one 一个一个重新激活插件

Awaken the monsters, one by one, at the Plugin Management Page ( http://example.com/wordpress/wp-admin/plugins.php ). Check if everything works as expected. There is a list of Plugins that are known to work with WordPress 2.0 here.
If some Plugins do not work, deactivate the plugin, then contact the
plugin author to encourage the author to upgrade the plugin.

There, that does it. 搞定~

Something went wrong, you say? No worries. Since you backed everything up earlier, restore the files and database tables you backed up, and this time, consider following the Detailed Instructions below.

更详细的升级说明可以看上边的这个连接.
TIP:我本身用的DREAMHOST的主机~ 所以备份时占了个便宜:直接进WEBFTP,把WP目录中全部内部生成到了一个ZIP文件中~很省事.不知道其他服务器是否有类似功能.

Leave a Comment