• i decided to add an SSL certificate via cloudflare to my WordPress woocommerce website. after adding it and successfully adding the ssl. my websites structure just randomly broke; even within the /wp-admin/ directory.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    Follow the guide at https://codex.www.ads-software.com/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database and make sure that the siteurl and home values in the database include https:// and not https://

    You’ll find phpMyAdmin in your hosting account’s control panel.

    A little trick to get http back so you can fix your issue easier is going into wp-config and changing or adding WordPress, you will see not secure warning of course.

    Add this code towards bottom of wp-config right above:
    /* That’s all, stop editing! Happy blogging. */

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

    Change example.com with your domain, and you can change latter to https for SSL.

    Moderator James Huff

    (@macmanx)

    I generally don’t recommend that fix. It’s a bad bandage, once you remove those lines from wp-config, the site will break again.

    It’s far better to change them directly in the database, since that will effectively save the fix and allow you to control the values from Settings > General again.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘the website fully broke’ is closed to new replies.