I developed my first website using WordPress. Once it was working perfectly, I decided to create another website using WordPress too. The first website stopped working after I created the second. It looks like the second one erased my first website – whenever I go to the admin url of wordpress for the first site, it opens the second one. Unfortunately, I didn’t back up any data from the first website. I think the issue has come about because I installed both sites using the same database.Â
Do I need to rebuild my first site? How can I make them work using just one database?
Answered By
Edward_
0 points
N/A
#111583
WordPress web site stopped working
Make sure you install WordPress in a different directory or in a different sub-domain. The database connection of your first WordPress site has probably been corrupted after installing your second WordPress.Â
There is a slight chance of recovery of data from your first wordpress site. Go to your host, then to your SQL database of your first wordpress. Extract as much data, articles or blogs as you can, using it to rebuild another website.
Although there are ways of making one database support two wordpress sites, Â I do not recommend it.
Just create a folder for your first site. Install WordPress. Then create a different folder (or you can create another sub-domain), and install wordpress on that.
Â
Answered By
steph24
0 points
N/A
#111584
WordPress web site stopped working
First of all, there is no need to rebuild the first site. The content of your site is in the database itself. As for the second question, it is actually possible to build two websites using the same database. However, the two sites should have been made with two different prefixes. You will just need to install the main blog first and have another wordpress installed on the same database with a different prefix. The log-ins should also be integrated after. In addition to all of these, you will need to upload each wp-config.php file to its installation directory or the specific root to run the installation. Another thing you may do is to just modify the name to suit the servers.