How to upgrade self-hosted wordpress and installed plugins of live site to latest available versions without facing any trouble?

烈酒焚心 提交于 2019-12-20 07:22:02

问题


I have to upgrade a running wordpress site's wordpress CMS and some installed plugins.and some plugins which i want to upgrade has been modified before to achieve something.

http://easycaptures.com/fs/uploaded/288/9522279160.png

  • How to upgrade Wordpress to latest without loosing anything, any post, comments?
  • What precautions should i take?
  • How should i take backup of all things?
  • Should i take backup of database also?
  • How to upgraded modified plugins without loosing functionality?

回答1:


It really depends from which version to which. From my experience with WP: It can go flawlessly; it can also turn out to be a terribly cumbersome work, depending on what plug-ins are running and what else has been done with the installation.

Anyway, I'm pretty sure there are extensive migration guides on the Wordpress site - reading through, and working with those should be your first order of business.

  • Updating WordPress
  • Migrating Plugins and Themes to 2.7/Enhanced Comment Display

A few general points:

How should i take backup of all things?

Do a full backup of all the site's folders through FTP, and make a dump of all databases used (it's usually one database). You can use phpMyAdmin's "Export" function for that.

Should i take backup of database also?

Yes, definitely.

How to upgraded modified plugins without loosing functionality?

That is impossible to answer without knowing the plugins. It can range from "will work flawlessly" to "awful mess". Best ask the person who modified the plugins.




回答2:


Wordpress has an excellent export feature

It will export in an XML format

This really makes the Database backup redundant- but I would suggest that you take the backup anyways

Also disable your plugins before the upgrade and then turn them on one by one...




回答3:


I use WordPress off svn.

For my personal site I'm living on the trunk and on the more "serious" sites I use the stable branches and the usual svn switch when I want to upgrade.

I also only use plugins which are available at http://plugins.svn.wordpress.org

By doing so I'm able to keep my modifications to my plugins when I do svn up. It will merge the updates with my changes.




回答4:


If you've modified the source code of Wordpress and/or extensions you'll need to manually upgrade them so you can re-implement your hacks accordingly.



来源:https://stackoverflow.com/questions/2539333/how-to-upgrade-self-hosted-wordpress-and-installed-plugins-of-live-site-to-lates

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!