• In WP control panel Settings ? General: changed both urls from http to https.
    Now system is broke! Only my home page shows and every link is now https but pages never load. I can not return to the control panel —it does not load.

    Contacted web host provider to restore site *prior to* change. They did, but problem remains…can not remove https reference and get back to original status.

    Your help would be appreciated …

Viewing 3 replies - 1 through 3 (of 3 total)
  • You can overwrite the database settings via wp-config.

    Set these two lines:

    define(‘WP_HOME’,’https://example.com’);
    define(‘WP_SITEURL’,’https://example.com’);

    More info here:

    https://www.inmotionhosting.com/support/website/wordpress/wordpress-changing-the-site-url-and-home-settings

    Thread Starter nonno john

    (@nonno-john)

    @michael

    Thank you for the suggestion. I modified the wp-config file as you suggested, with subdirectory added :

    define(‘WP_HOME’,’https://example.com/blog’);
    define(‘WP_SITEURL’,’https://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.

    Thread Starter nonno john

    (@nonno-john)

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Settings ? General change to https broke system’ is closed to new replies.