Solved

wordpress reinstall preserving current pages

Posted on 2012-04-02
4
304 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
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…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

695 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