Recover Wordpress site from damaged webserver

I am part way through bulding a website on a local webserver. I have used Ampps WAMP stack as my webserver.

I have managed to export the database from MySQL using MySQL workbench. I also have a copy of the contents of the www folder.

I now want to use these two items to setup the site on a new webserver.

I have not set up any version of WAMP (or LAMP) yet. I prefer Ampps as I am familiar with it but that isnt essential. I just want my sire back ! :)
LVL 1
roy_battyDirectorAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Tom BeckCommented:
So what's the question? Install Ampps (which gets you PHP and MySql and a web server). Install Wordpress, import your data into MySql, copy your theme folder from the backup into your new Themes folder in WP and activate the theme in the WP admin area.
0
roy_battyDirectorAuthor Commented:
Well I was leaving the WAMP software up to how ever offered to help, but i am happy with Ampps so I will go with that.

Do I need to install Wordpress there first before copying the WP files over then import the database or can I just copy the files into the www folder and somehow point it to the database after importing?
0
Tom BeckCommented:
I always prefer a clean install of WP. You should never alter the core files of WP. Only your theme files. And even then, it's best practice to create a child theme first. When done properly, only your child theme files are custom to the installation so only those need to be copied over to move the uniqueness of the original site to a new server. But I don't know the particulars of your site and how you customized it to give a definitive answer.
Other experts may have an alternate suggestion.
0
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

Lucas BishopClick TrackerCommented:
You can copy the old Wordpress installation to your new web server without issue. You will need to make updates to specific areas, but based on what you've detailed so far, it would not be above your skill set. Specifically after copying over the WP contents and the database, you'd need to update:

1.

Your wp-config.php file in the site root, to have correct database connection information.  

2.

The siteurl and home values in the database table "wp_options".  

3.

If you have permalinks configured, you'd need to disable on the new site and then re-enable so they are configured correctly.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
roy_battyDirectorAuthor Commented:
I will give this try and let you know how i get on.
0
roy_battyDirectorAuthor Commented:
Thanks for the help
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
MySQL Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.