SOLVED WPToolkit - Error, homepage missed when copying data

BassTeQ

Well-Known Member
Aug 31, 2008
55
5
58
Hi all,

I'm trying to promote changes in my staging site to a preprod site, I get the error below. Is there a more detailed log which might indicate what's gone wrong?

The WordPress website with the ID 3 is unavailable. The website responded with the 404 HTTP status code.

The preprod site had most of the content copied, but it was missing the "home" page
homepage.png
Also the custom CSS area of the Divi plugin settings became corrupt, (screenshot from staging site)
css.png

I host my wordpress install under a subdir "blog", but my site address doesn't use "blog" in the path

Wordpress Address: https://staging.mydomain.com/blog
Site Address: https://staging.mydomain.com

The staging site works fine, the index.php in my top level directory is a copy of the wordpress version, just had to change the require statement

index_php.png

I also have to use some redirects in public_html/staging/.htaccess.

Code:
RedirectMatch ^/blog/tag/(.*)$ https://staging.mydomain.com/tag/$1
RedirectMatch ^/blog/category/(.*)$ https://staging.mydomain.com/category/$1
RedirectMatch ^/blog/search/(.*)$ https://staging.mydomain.com/search/$1
RedirectMatch ^/blog/author/(.*)$ https://staging.mydomain.com/author/$1
RedirectMatch ^/blog/$ https://staging.mydomain.com
Appreciate any advice!

Thanks
 
Last edited by a moderator:

BassTeQ

Well-Known Member
Aug 31, 2008
55
5
58
Hey there! I talked to our team about this and we haven't experienced this behavior just yet. Could you make a ticket with our Technical Support team, and then we can get that over to the WPT crew?
Thanks, will raise a ticket!
 

BassTeQ

Well-Known Member
Aug 31, 2008
55
5
58
For the benefit of others, I noticed my pages weren't being updated, with the help of support they suggested I need to also import the wp_posts table, I wrongly assumed that table was only used for posts, not pages.
All working great now!