WordPress升级基本方法

如果能自动升级,直接傻瓜操作就行了。

在没有自动升级功能的WordPress里( 网站只有1个FTP账户 ),需要手动下载WordPress安装包,然后上传。

下载的文件为zip压缩文件,其根目录下只有一个WordPress文件夹。如果WordPress安装在网站根目录上,就要重新打包上传了。

在网站上,应该删除那些没被自己改动的文件,要保留wp-content/, wp-config.php, .htaccess, favicon.ico等文件和目录。

在本地解压出的文件夹里,要相应的删掉以上目录。(为了使文件包尽可能小。)

上传时,最好选择在线Ftp,可以在服务器里解压,速度快一些而且不会丢失文件。

最后重新用zip格式打包,上传。


附件: 要压缩的文件(不想看就算了)

/
│  wp-settings.php
│  wp-links-opml.php
│  wp-load.php
│  wp-rdf.php
│  wp-pass.php
│  wp-register.php
│  readme.html
│  wp-login.php
│  wp-config-sample.php
│  wp-feed.php
│  license.txt
│  index.php
│  wp-comments-post.php
│  wp-mail.php
│  wp-cron.php
│  wp-trackback.php
│  wp-commentsrss2.php
│  xmlrpc.php
│  wp-rss2.php
│  wp-rss.php
│  wp-atom.php
│  wp-blog-header.php
│  wp-app.php
│  
├─wp-includes
│  │  compat.php
│  │  functions.wp-styles.php
│  │  locale.php
│  │  functions.php
│  │  template-loader.php
│  │  rss.php
│  │  plugin.php
│  │  version.php
│  │  class-pop3.php
│  │  pluggable.php
│  │  feed-rdf.php
│  │  default-widgets.php
│  │  default-filters.php
│  │  http.php
│  │  l10n.php
│  │  class.wp-dependencies.php
│  │  query.php
│  │  class-snoopy.php
│  │  bookmark-template.php
│  │  vars.php
│  │  update.php
│  │  rewrite.php
│  │  class-simplepie.php
│  │  wp-db.php
│  │  class.wp-styles.php
│  │  theme.php
│  │  class-smtp.php
│  │  functions.wp-scripts.php
│  │  taxonomy.php
│  │  cache.php
│  │  category-template.php
│  │  classes.php
│  │  user.php
│  │  general-template.php
│  │  class-phpass.php
│  │  feed-rss2-comments.php
│  │  link-template.php
│  │  shortcodes.php
│  │  comment-template.php
│  │  feed-atom-comments.php
│  │  category.php
│  │  canonical.php
│  │  kses.php
│  │  feed-rss.php
│  │  widgets.php
│  │  feed-atom.php
│  │  class-feed.php
│  │  registration.php
│  │  feed.php
│  │  post-template.php
│  │  deprecated.php
│  │  post.php
│  │  class-phpmailer.php
│  │  wp-diff.php
│  │  wlwmanifest.xml
│  │  atomlib.php
│  │  bookmark.php
│  │  rss-functions.php
│  │  registration-functions.php
│  │  gettext.php
│  │  formatting.php
│  │  author-template.php
│  │  capabilities.php
│  │  comment.php
│  │  feed-rss2.php
│  │  class.wp-scripts.php
│  │  media.php
│  │  streams.php
│  │  cron.php
│  │  script-loader.php
│  │  class-IXR.php
│  │  
│  ├─js
│  │  │  swfobject.js
│  │  │  quicktags.js
│  │  │  wp-lists.js
│  │  │  colorpicker.dev.js
│  │  │  prototype.js
│  │  │  comment-reply.js
│  │  │  colorpicker.js
│  │  │  wp-lists.dev.js
│  │  │  hoverIntent.js
│  │  │  tw-sack.dev.js
│  │  │  autosave.dev.js
│  │  │  quicktags.dev.js
│  │  │  wp-ajax-response.dev.js
│  │  │  tw-sack.js
│  │  │  autosave.js
│  │  │  comment-reply.dev.js
│  │  │  wp-ajax-response.js
│  │  │  hoverIntent.dev.js
│  │  │  
│  │  ├─jcrop
│  │  │      jquery.Jcrop.dev.js
│  │  │      jquery.Jcrop.js
│  │  │      Jcrop.gif
│  │  │      jquery.Jcrop.css
│  │  │      
│  │  ├─scriptaculous
│  │  │      wp-scriptaculous.js
│  │  │      dragdrop.js
│  │  │      unittest.js
│  │  │      prototype.js
│  │  │      sound.js
│  │  │      scriptaculous.js
│  │  │      effects.js
│  │  │      slider.js
│  │  │      controls.js
│  │  │      builder.js
│  │  │      MIT-LICENSE
│  │  │      
│  │  ├─swfupload
│  │  │  │  swfupload.swf
│  │  │  │  swfupload-all.js
│  │  │  │  handlers.dev.js
│  │  │  │  handlers.js
│  │  │  │  swfupload.js
│  │  │  │  
│  │  │  └─plugins
│  │  │          swfupload.cookies.js
│  │  │          swfupload.speed.js
│  │  │          swfupload.queue.js
│  │  │          swfupload.swfobject.js
│  │  │          
│  │  ├─codepress
│  │  │  │  codepress.css
│  │  │  │  license.txt
│  │  │  │  codepress.js
│  │  │  │  codepress.html
│  │  │  │  
│  │  │  ├─languages
│  │  │  │      text.js
│  │  │  │      autoit.css
│  │  │  │      perl.js
│  │  │  │      javascript.js
│  │  │  │      autoit.js
│  │  │  │      xsl.css
│  │  │  │      csharp.css
│  │  │  │      generic.css
│  │  │  │      sql.css
│  │  │  │      asp.js
│  │  │  │      asp.css
│  │  │  │      html.js
│  │  │  │      generic.js
│  │  │  │      text.css
│  │  │  │      ruby.css
│  │  │  │      java.css
│  │  │  │      vbscript.css
│  │  │  │      html.css
│  │  │  │      php.js
│  │  │  │      php.css
│  │  │  │      javascript.css
│  │  │  │      perl.css
│  │  │  │      css.js
│  │  │  │      vbscript.js
│  │  │  │      sql.js
│  │  │  │      ruby.js
│  │  │  │      css.css
│  │  │  │      xsl.js
│  │  │  │      csharp.js
│  │  │  │      java.js
│  │  │  │      
│  │  │  ├─images
│  │  │  │      line-numbers.png
│  │  │  │      
│  │  │  └─engines
│  │  │          opera.js
│  │  │          khtml.js
│  │  │          msie.js
│  │  │          older.js
│  │  │          gecko.js
│  │  │          
│  │  ├─thickbox
│  │  │      macFFBgHack.png
│  │  │      tb-close.png
│  │  │      thickbox.css
│  │  │      thickbox.js
│  │  │      loadingAnimation.gif
│  │  │      
│  │  ├─crop
│  │  │      cropper.js
│  │  │      marqueeVert.gif
│  │  │      cropper.css
│  │  │      marqueeHoriz.gif
│  │  │      
│  │  ├─jquery
│  │  │      ui.core.js
│  │  │      jquery.table-hotkeys.js
│  │  │      ui.selectable.js
│  │  │      jquery.form.js
│  │  │      suggest.dev.js
│  │  │      ui.tabs.js
│  │  │      suggest.js
│  │  │      interface.js
│  │  │      ui.dialog.js
│  │  │      jquery.hotkeys.js
│  │  │      ui.droppable.js
│  │  │      jquery.schedule.js
│  │  │      jquery.hotkeys.dev.js
│  │  │      ui.draggable.js
│  │  │      ui.resizable.js
│  │  │      jquery.form.dev.js
│  │  │      jquery.color.dev.js
│  │  │      jquery.js
│  │  │      ui.sortable.js
│  │  │      jquery.color.js
│  │  │      jquery.table-hotkeys.dev.js
│  │  │      
│  │  └─tinymce
│  │      │  wp-tinymce.js.gz
│  │      │  wp-mce-help.php
│  │      │  license.txt
│  │      │  blank.htm
│  │      │  tiny_mce.js
│  │      │  tiny_mce_popup.js
│  │      │  wp-tinymce.js
│  │      │  wp-tinymce.php
│  │      │  
│  │      ├─plugins
│  │      │  ├─directionality
│  │      │  │      editor_plugin.js
│  │      │  │      
│  │      │  ├─safari
│  │      │  │      blank.htm
│  │      │  │      editor_plugin.js
│  │      │  │      
│  │      │  ├─media
│  │      │  │  │  media.htm
│  │      │  │  │  editor_plugin.js
│  │      │  │  │  
│  │      │  │  ├─js
│  │      │  │  │      embed.js
│  │      │  │  │      media.js
│  │      │  │  │      
│  │      │  │  ├─img
│  │      │  │  │      flash.gif
│  │      │  │  │      windowsmedia.gif
│  │      │  │  │      shockwave.gif
│  │      │  │  │      trans.gif
│  │      │  │  │      flv_player.swf
│  │      │  │  │      realmedia.gif
│  │      │  │  │      quicktime.gif
│  │      │  │  │      
│  │      │  │  └─css
│  │      │  │          content.css
│  │      │  │          media.css
│  │      │  │          
│  │      │  ├─spellchecker
│  │      │  │  │  config.php
│  │      │  │  │  rpc.php
│  │      │  │  │  editor_plugin.js
│  │      │  │  │  
│  │      │  │  ├─includes
│  │      │  │  │      general.php
│  │      │  │  │      
│  │      │  │  ├─img
│  │      │  │  │      wline.gif
│  │      │  │  │      
│  │      │  │  ├─css
│  │      │  │  │      content.css
│  │      │  │  │      
│  │      │  │  └─classes
│  │      │  │      │  GoogleSpell.php
│  │      │  │      │  EnchantSpell.php
│  │      │  │      │  PSpellShell.php
│  │      │  │      │  PSpell.php
│  │      │  │      │  SpellChecker.php
│  │      │  │      │  
│  │      │  │      └─utils
│  │      │  │              Logger.php
│  │      │  │              JSON.php
│  │      │  │              
│  │      │  ├─tabfocus
│  │      │  │      editor_plugin.js
│  │      │  │      
│  │      │  ├─paste
│  │      │  │  │  pasteword.htm
│  │      │  │  │  blank.htm
│  │      │  │  │  editor_plugin.js
│  │      │  │  │  pastetext.htm
│  │      │  │  │  
│  │      │  │  └─js
│  │      │  │          pastetext.js
│  │      │  │          pasteword.js
│  │      │  │          
│  │      │  ├─wordpress
│  │      │  │  │  editor_plugin.dev.js
│  │      │  │  │  editor_plugin.js
│  │      │  │  │  
│  │      │  │  ├─js
│  │      │  │  ├─img
│  │      │  │  │      help.gif
│  │      │  │  │      page.gif
│  │      │  │  │      audio.gif
│  │      │  │  │      media.gif
│  │      │  │  │      page_bug.gif
│  │      │  │  │      trans.gif
│  │      │  │  │      image.gif
│  │      │  │  │      more.gif
│  │      │  │  │      more_bug.gif
│  │      │  │  │      video.gif
│  │      │  │  │      toolbars.gif
│  │      │  │  │      
│  │      │  │  └─css
│  │      │  │          content.css
│  │      │  │          
│  │      │  ├─fullscreen
│  │      │  │      editor_plugin.js
│  │      │  │      fullscreen.htm
│  │      │  │      
│  │      │  ├─inlinepopups
│  │      │  │  │  template.htm
│  │      │  │  │  editor_plugin.js
│  │      │  │  │  
│  │      │  │  └─skins
│  │      │  │      └─clearlooks2
│  │      │  │          │  window.css
│  │      │  │          │  
│  │      │  │          └─img
│  │      │  │                  button.gif
│  │      │  │                  buttons.gif
│  │      │  │                  alert.gif
│  │      │  │                  horizontal.gif
│  │      │  │                  vertical.gif
│  │      │  │                  confirm.gif
│  │      │  │                  drag.gif
│  │      │  │                  corners.gif
│  │      │  │                  
│  │      │  ├─wpgallery
│  │      │  │  │  editor_plugin.dev.js
│  │      │  │  │  editor_plugin.js
│  │      │  │  │  
│  │      │  │  └─img
│  │      │  │          t.gif
│  │      │  │          edit.png
│  │      │  │          delete.png
│  │      │  │          gallery.png
│  │      │  │          
│  │      │  └─wpeditimage
│  │      │      │  editor_plugin.dev.js
│  │      │      │  editor_plugin.js
│  │      │      │  editimage.html
│  │      │      │  
│  │      │      ├─js
│  │      │      │      editimage.js
│  │      │      │      
│  │      │      ├─img
│  │      │      │      image.png
│  │      │      │      delete.png
│  │      │      │      
│  │      │      └─css
│  │      │              editimage.css
│  │      │              editimage-rtl.css
│  │      │              
│  │      ├─langs
│  │      │      wp-langs.php
│  │      │      wp-langs-en.js
│  │      │      
│  │      ├─themes
│  │      │  └─advanced
│  │      │      │  charmap.htm
│  │      │      │  source_editor.htm
│  │      │      │  color_picker.htm
│  │      │      │  anchor.htm
│  │      │      │  editor_template.js
│  │      │      │  link.htm
│  │      │      │  image.htm
│  │      │      │  about.htm
│  │      │      │  
│  │      │      ├─js
│  │      │      │      anchor.js
│  │      │      │      source_editor.js
│  │      │      │      about.js
│  │      │      │      link.js
│  │      │      │      charmap.js
│  │      │      │      image.js
│  │      │      │      color_picker.js
│  │      │      │      
│  │      │      ├─img
│  │      │      │      gotmoxie.png
│  │      │      │      icons.gif
│  │      │      │      colorpicker.jpg
│  │      │      │      fm.gif
│  │      │      │      sflogo.png
│  │      │      │      
│  │      │      └─skins
│  │      │          ├─default
│  │      │          │  │  ui.css
│  │      │          │  │  content.css
│  │      │          │  │  dialog.css
│  │      │          │  │  
│  │      │          │  └─img
│  │      │          │          tabs.gif
│  │      │          │          buttons.png
│  │      │          │          progress.gif
│  │      │          │          items.gif
│  │      │          │          menu_arrow.gif
│  │      │          │          menu_check.gif
│  │      │          │          
│  │      │          ├─wp_theme
│  │      │          │  │  ui.css
│  │      │          │  │  content.css
│  │      │          │  │  dialog.css
│  │      │          │  │  
│  │      │          │  └─img
│  │      │          │          tabs.gif
│  │      │          │          butt2.png
│  │      │          │          button_bg.png
│  │      │          │          separator.gif
│  │      │          │          fade-butt.png
│  │      │          │          down_arrow.gif
│  │      │          │          
│  │      │          └─o2k7
│  │      │              │  ui.css
│  │      │              │  ui_silver.css
│  │      │              │  ui_black.css
│  │      │              │  content.css
│  │      │              │  dialog.css
│  │      │              │  
│  │      │              └─img
│  │      │                      button_bg.png
│  │      │                      button_bg_black.png
│  │      │                      button_bg_silver.png
│  │      │                      
│  │      └─utils
│  │              form_utils.js
│  │              mctabs.js
│  │              validate.js
│  │              editable_selects.js
│  │              
│  ├─pomo
│  │      po.php
│  │      translations.php
│  │      mo.php
│  │      entry.php
│  │      streams.php
│  │      
│  ├─images
│  │  │  blank.gif
│  │  │  upload.png
│  │  │  rss.png
│  │  │  
│  │  ├─crystal
│  │  │      archive.png
│  │  │      license.txt
│  │  │      default.png
│  │  │      video.png
│  │  │      text.png
│  │  │      code.png
│  │  │      document.png
│  │  │      interactive.png
│  │  │      spreadsheet.png
│  │  │      audio.png
│  │  │      
│  │  ├─smilies
│  │  │      icon_arrow.gif
│  │  │      icon_biggrin.gif
│  │  │      icon_exclaim.gif
│  │  │      icon_twisted.gif
│  │  │      icon_mad.gif
│  │  │      icon_evil.gif
│  │  │      icon_rolleyes.gif
│  │  │      icon_mrgreen.gif
│  │  │      icon_surprised.gif
│  │  │      icon_razz.gif
│  │  │      icon_neutral.gif
│  │  │      icon_idea.gif
│  │  │      icon_smile.gif
│  │  │      icon_confused.gif
│  │  │      icon_cry.gif
│  │  │      icon_lol.gif
│  │  │      icon_wink.gif
│  │  │      icon_question.gif
│  │  │      icon_eek.gif
│  │  │      icon_sad.gif
│  │  │      icon_redface.gif
│  │  │      icon_cool.gif
│  │  │      
│  │  └─wlw
│  │          wp-icon.png
│  │          wp-watermark.png
│  │          wp-comments.png
│  │          
│  └─Text
│      │  Diff.php
│      │  
│      └─Diff
│          │  Renderer.php
│          │  
│          ├─Renderer
│          │      inline.php
│          │      
│          └─Engine
│                  string.php
│                  xdiff.php
│                  shell.php
│                  native.php
│                  
└─wp-admin
    │  edit-page-form.php
    │  edit-link-category-form.php
    │  plugin-editor.php
    │  edit-pages.php
    │  options.php
    │  admin-post.php
    │  sidebar.php
    │  edit-form-comment.php
    │  post-new.php
    │  options-reading.php
    │  profile.php
    │  edit.php
    │  media-new.php
    │  plugin-install.php
    │  import.php
    │  upload.php
    │  edit-form-advanced.php
    │  user-new.php
    │  link-parse-opml.php
    │  update.php
    │  options-media.php
    │  rtl.css
    │  install-helper.php
    │  options-writing.php
    │  edit-link-form.php
    │  plugins.php
    │  options-discussion.php
    │  admin-footer.php
    │  tools.php
    │  admin-header.php
    │  update-links.php
    │  edit-tag-form.php
    │  link-add.php
    │  link-manager.php
    │  edit-comments.php
    │  options-head.php
    │  load-scripts.php
    │  gears-manifest.php
    │  update-core.php
    │  index.php
    │  menu.php
    │  theme-install.php
    │  setup-config.php
    │  edit-category-form.php
    │  user-edit.php
    │  index-extra.php
    │  edit-post-rows.php
    │  wp-admin.css
    │  upgrade-functions.php
    │  edit-tags.php
    │  options-general.php
    │  custom-header.php
    │  edit-link-categories.php
    │  widgets.php
    │  options-privacy.php
    │  export.php
    │  options-permalink.php
    │  menu-header.php
    │  page.php
    │  press-this.php
    │  post.php
    │  media-upload.php
    │  upgrade.php
    │  admin-ajax.php
    │  themes.php
    │  edit-attachment-rows.php
    │  revision.php
    │  link-category.php
    │  users.php
    │  admin.php
    │  categories.php
    │  moderation.php
    │  admin-functions.php
    │  page-new.php
    │  options-misc.php
    │  load-styles.php
    │  comment.php
    │  async-upload.php
    │  link.php
    │  media.php
    │  theme-editor.php
    │  install.php
    │  
    ├─includes
    │      class-pclzip.php
    │      template.php
    │      plugin.php
    │      continents-cities.php
    │      plugin-install.php
    │      class-wp-filesystem-direct.php
    │      import.php
    │      update.php
    │      theme.php
    │      misc.php
    │      schema.php
    │      class-ftp.php
    │      manifest.php
    │      taxonomy.php
    │      user.php
    │      update-core.php
    │      theme-install.php
    │      class-wp-filesystem-ftpsockets.php
    │      widgets.php
    │      class-ftp-sockets.php
    │      export.php
    │      post.php
    │      upgrade.php
    │      class-wp-filesystem-ssh2.php
    │      admin.php
    │      bookmark.php
    │      image.php
    │      dashboard.php
    │      class-ftp-pure.php
    │      comment.php
    │      media.php
    │      class-wp-upgrader.php
    │      file.php
    │      class-wp-filesystem-base.php
    │      class-wp-filesystem-ftpext.php
    │      
    ├─js
    │      inline-edit-post.dev.js
    │      tags.dev.js
    │      slug.js
    │      widgets.js
    │      plugin-install.dev.js
    │      editor.js
    │      page.js
    │      page.dev.js
    │      media-upload.dev.js
    │      word-count.js
    │      gallery.js
    │      dashboard.dev.js
    │      theme-preview.js
    │      custom-fields.js
    │      revisions-js.php
    │      password-strength-meter.js
    │      farbtastic.js
    │      wp-gears.js
    │      cat.js
    │      postbox.js
    │      plugin-install.js
    │      categories.js
    │      wp-gears.dev.js
    │      word-count.dev.js
    │      media-upload.js
    │      edit-comments.js
    │      password-strength-meter.dev.js
    │      gallery.dev.js
    │      comment.dev.js
    │      common.js
    │      media.js
    │      media.dev.js
    │      link.js
    │      utils.dev.js
    │      tags.js
    │      user-profile.js
    │      editor.dev.js
    │      inline-edit-post.js
    │      user-profile.dev.js
    │      custom-fields.dev.js
    │      postbox.dev.js
    │      widgets.dev.js
    │      categories.dev.js
    │      inline-edit-tax.dev.js
    │      cat.dev.js
    │      common.dev.js
    │      xfn.dev.js
    │      dashboard.js
    │      inline-edit-tax.js
    │      post.js
    │      edit-comments.dev.js
    │      xfn.js
    │      slug.dev.js
    │      post.dev.js
    │      comment.js
    │      theme-preview.dev.js
    │      link.dev.js
    │      utils.js
    │      
    ├─images
    │      fav-top-vs.gif
    │      menu-dark.gif
    │      button-grad-vs.png
    │      marker.png
    │      yes.png
    │      date-button.gif
    │      comment-grey-bubble.png
    │      screen-options-right.gif
    │      resize.gif
    │      wp-logo-vs.gif
    │      menu-bits-vs.gif
    │      menu.png
    │      screen-options-right-up.gif
    │      wordpress-logo.png
    │      align-left.png
    │      browse-happy.gif
    │      bubble_bg.gif
    │      visit-site-button-grad.gif
    │      xit.gif
    │      menu-bits-rtl.gif
    │      wheel.png
    │      button-grad.png
    │      star.gif
    │      generic.png
    │      list.png
    │      ed-bg.gif
    │      menu-bits.gif
    │      align-right.png
    │      fade-butt.png
    │      visit-site-button-grad-vs.gif
    │      ed-bg-vs.gif
    │      wp-logo.gif
    │      screen-options-left.gif
    │      menu-dark-rtl.gif
    │      toggle-arrow.gif
    │      logo-login.gif
    │      button-grad-active-vs.png
    │      menu-arrows.gif
    │      fav-top.png
    │      icons32-vs.png
    │      se.png
    │      loading.gif
    │      mask.png
    │      logo-ghost.png
    │      no.png
    │      media-button-other.gif
    │      list-vs.png
    │      loading-publish.gif
    │      align-none.png
    │      wpspin_light.gif
    │      toggle-arrow-rtl.gif
    │      icons32.png
    │      bubble_bg-rtl.gif
    │      archive-link.png
    │      menu-vs.png
    │      blue-grad.png
    │      media-button-image.gif
    │      required.gif
    │      media-button-video.gif
    │      wpspin_dark.gif
    │      menu-bits-rtl-vs.gif
    │      white-grad.png
    │      gray-grad.png
    │      button-grad-active.png
    │      white-grad-active.png
    │      logo.gif
    │      fav.png
    │      fav-vs.png
    │      fav-arrow.gif
    │      fav-arrow-vs.gif
    │      fav-arrow-rtl.gif
    │      align-center.png
    │      media-button-music.gif
    │      
    ├─css
    │      install.css
    │      theme-editor-rtl.css
    │      global-rtl.css
    │      colors-classic-rtl.css
    │      colors-classic.css
    │      media-rtl.css
    │      theme-editor.css
    │      ie-rtl.css
    │      dashboard.css
    │      theme-install.css
    │      plugin-install.css
    │      dashboard-rtl.css
    │      widgets.css
    │      widgets-rtl.css
    │      farbtastic-rtl.css
    │      login-rtl.css
    │      colors-fresh-rtl.css
    │      colors-fresh.css
    │      login.css
    │      plugin-install-rtl.css
    │      install-rtl.css
    │      press-this-rtl.css
    │      global.css
    │      farbtastic.css
    │      media.css
    │      press-this.css
    │      ie.css
    │      
    └─import
            livejournal.php
            rss.php
            utw.php
            dotclear.php
            mt.php
            stp.php
            greymatter.php
            wp-cat2tag.php
            opml.php
            blogger.php
            textpattern.php
            blogware.php
            wordpress.php 

也许这是最长的一篇文章……