Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 319
  • Last Modified:

wordpress reinstall preserving current pages

Using Wordpress 3.2.1

How do we reinstall wordpress ensuring that the pages are kept in place.

We believe we've got a corrupt file.

Thanks!
0
weikelbob
Asked:
weikelbob
  • 2
4 Solutions
 
Jason C. LevineNo oneCommented:
Reinstalling the WordPress software (the PHP files) will not touch the MySQL database where the content it located.  If you want to make a new database too, then export the old one first from the WordPress Dashboard then import the file to the new database.
0
 
MBobrekCommented:
Always should get into the habit of performing a databse backup / sql dump.  In a perfect world, it won't, but this world is not perfect.
0
 
Ess KayEntrapenuerCommented:
i had to do this today actually to move to a different host.


export the database
save all the image folders via ftp


install wordpress
then import database .
0
 
Jason C. LevineNo oneCommented:
It also depends on exactly how you are reinstalling.  If you are reinstalling by using the option in:

http://www.yoursite.com/wp-admin/update-core.php

then the database will be absolutely safe.  If you are re-deploying the files via FTP or wget or whatever, then you will need to set up the wp-config.php file instead of performing the five-minute-install.  Even if you perform the five-minute-install, it shouldn't kill the existing tables but a backup is a real good idea at that point.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now