Solved

wordpress reinstall preserving current pages

Posted on 2012-04-02
4
292 Views
Last Modified: 2012-04-06
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
Comment
Question by:weikelbob
  • 2
4 Comments
 
LVL 70

Assisted Solution

by:Jason C. Levine
Jason C. Levine earned 250 total points
Comment Utility
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
 
LVL 9

Assisted Solution

by:MBobrek
MBobrek earned 125 total points
Comment Utility
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
 
LVL 15

Assisted Solution

by:Ess Kay
Ess Kay earned 125 total points
Comment Utility
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
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 250 total points
Comment Utility
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
The viewer will learn how to dynamically set the form action using jQuery.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now