@michael
Thank you for the suggestion. I modified the wp-config file as you suggested, with subdirectory added :
define(‘WP_HOME’,’http://example.com/blog’);
define(‘WP_SITEURL’,’http://example.com/blog’);
Now I just receive a blank screen when browser calls for example.com.
If I remove the two lines of code, the home page comes up but all the links have *https* and the browser can not find pages. (e.g.it looks for https and the file does not exist)
The web host provider is restoring WP one day earlier —- that may solve the problem.
Problem resolved by the restore. Make sure the web host provider restores both the WP files and the SQLDB at the same checkpoint and at the same time. If not, the result is erratic at best.
Other easy fix…the provider made an *options?* change to the SQLDB —took him less than a minute. I then had access to the WP control panel, went to *permalinks* settings and simply hit save. Presto, problem fixed!
Warning — do not use Settings>>>general to go from http to https UNLESS you are certain your entire site has an SSL cert. If not, you may run into the problem which took me several days to resolve.