R
R
Roman Kozhevnikov2015-03-14 13:44:51
CMS
Roman Kozhevnikov, 2015-03-14 13:44:51

How to restore a WordPress Multisite site with a database?

I use the WordPress Multisite feature: manage multiple WordPress sites on the same hosting from one console. In the "all sites" section, I saw that you can change the link to the site, changed from /wp/corporative to /corporative, also started a checkmark in front of "Update also siteurl and home parameters." However, the new link did not work and gave out "page not found", returned the old link (also with the "update url" checkbox), but the old page does not work now and gives out "page not found". Trying to enter the console of my "corporate" site, I get into the console of the main WordPress MU site. However, in "my sites" there are still 2 of them.

I went to PHP My Admin on the hosting: the database with the WP_2 prefix still contains all the posts and pages of my "corporate" site. But I seem to have "broken" the link to it (since it says "page not found"). What can I do now to restore its parameters from the database, except for creating a new site and copying records from the old database (WP_2) that is no longer open with the mouse to it?

ps Based on the fullness of the hosting, I concluded that the files of the second site were not deleted either. Only the link to it does not work and logging into it through the console does not work

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Vorotnev, 2015-03-15
@Most998

Check out wp-config.php, the multisite related block. Also, see .htaccess if you have apache. Well, do an SQL search in PHPMyAdmin across all tables for the /corporative entry. The results will show both options, perhaps not corrected everywhere. And I would also reboot PHP, Memcached/Redis and MySQL, just to be sure. Maybe infa is still being pulled from the cache.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question