Solved

wordpress reinstall preserving current pages

Posted on 2012-04-02
4
302 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
ID: 37798223
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
ID: 37798247
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
ID: 37798257
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
ID: 37798462
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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Woocommerce Global Add Ons 6 22
move expression web site to a new server 13 54
What does GoogleTagMgr javascripts below do 5 36
Custom Wordpress Loop 22 39
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The viewer will learn how to count occurrences of each item in an array.

821 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