• Resolved mmeadpond

    (@mmeadpond)


    Hello,

    This is the alert I’m getting in the “site health” tab at the site, https://enemieswithinmovie.com

    Your website does not use HTTPS
    Security
    You are accessing this website using HTTPS, but your WordPress Address and Site Address are not set up to use HTTPS by default.
    However, your WordPress Address is currently controlled by a PHP constant and therefore cannot be updated. You need to edit your wp-config.php and remove or update the definitions of WP_HOME and WP_SITEURL.

    ////

    So, I went over to FTP and fixed the wp-config file to “https://” etc. in both WP_HOME and WP_SITEURL lines.

    But when I save, upload, and return to the back end of the dashboard, click on Dashboard/General Settings, greyed out are the following:

    WordPress Address (URL) https://enemieswithinmovie.com
    Site Address (URL) https://enemieswithinmovie.com

    I have searched the entire site for any other instance of the “https://” occurrence, and I get no hits within Adobe Dreamweaver’s search, which is very robust as a general rule.

    After fixing the wp-config according to instructions
    https://www.ads-software.com/support/article/editing-wp-config-php/#wp_siteurl

    –then save, then upload, then check, I see the same warnings in the Site Health page, despite my fixing it on wp-config.

    And again, on the General page:
    https://capture.dropbox.com/GopGpEsjZEftw4hS?src=ss

    What next? I’m baffled.

    Theme: DIVI 4.13.1
    WooCommerce: 5.9.0
    WP: 5.8.2
    Themes and Plugins are all up-to-date.

    Kind regards, M Mead

    • This topic was modified 3 years ago by mmeadpond.
    • This topic was modified 3 years ago by mmeadpond.

    The page I need help with: [log in to see the link]

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

    (@macmanx)

    Remove those lines from wp-config.php, that’s why the fields at Settings > General are greyed out, because you’re forcing them externally.

    If you need to force a fix to those after removing the wp-config.php lines (which are only recommended for temporary emergency fixes), this is a better way to change those settings manually: https://www.ads-software.com/support/article/changing-the-site-url/#changing-the-url-directly-in-the-database (you’ll find phpMyAdmin in your hosting account’s control panel)

    That’s essentially the same as changing the fields at Settings > General, only now you’re doing it directly in the database. Very handy if you can’t access the Dashboard because of a typo’ed change for example.

    Thread Starter mmeadpond

    (@mmeadpond)

    Dear James, THANK YOU so very much. That did it.

    No more warnings or cautions and the site is showing the
    https://…” on the Settings Page–no more being grayed out. Thank you, again.

    https://capture.dropbox.com/OEKQQ4cklmDHJCwH?src=ss

    I’ve commented out the two lines and will read (and save) your tip.

    Kind regards, M Mead

    Thread Starter mmeadpond

    (@mmeadpond)

    Dear James, to be clear–(I just read the instructions),
    the two lines are in the wp-confg.php file, but I’ve commented them out.

    When I go to fix it in the PHP database, what do I do with the disabled two lines in the file wp-config.php?

    https://capture.dropbox.com/KWSRz7z9KEzXa9fT?src=ss

    Delete?
    Or enable them again with the correct address?

    –I’m just wanting clarity so that I’m following protocol and leaving the file in its proper form.

    Thank you, again, M. Mead

    • This reply was modified 3 years ago by mmeadpond.
    Moderator James Huff

    (@macmanx)

    When I go to fix it in the PHP database, what do I do with the disabled two lines in the file wp-config.php?

    Either leave them disabled or delete them entirely.

    Thread Starter mmeadpond

    (@mmeadpond)

    Thanks, James!

    I appreciate the knowledge.

    Kind regards, M Mead

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘ERROR: Your website does not use HTTPS…’ is closed to new replies.