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 ! :)
MySQL ServerWordPressApache Web Server
Last Comment
roy_batty
8/22/2022 - Mon
Tom Beck
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.
roy_batty
ASKER
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?
Tom Beck
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.