ok I’m getting there
Edit wp-config.php
It is possible to set the site URL manually in the wp-config.php file.
Add these two lines to your wp-config.php, where “example.com” is the correct location of your site.
define(‘WP_HOME’,’https://example.com’);
define(‘WP_SITEURL’,’https://example.com’);
I did this edit in both locations public_html and in www01 subdomain
using URL for the first pair and URL/www01 for the second pair
and got the sites back