How to Fix WordPress Updating Failed Error due to SSL

March 6, 2024 / How-to Guide

In this guide, we will discuss the common issue of WordPress updates failing due to SSL-related errors. We will provide systematic instructions to resolve this issue and ensure smooth updates for your WordPress site.

Follow the steps-

  1. Check SSL Certificate-
    1. Verify that your SSL certificate is valid and properly installed on your server.
    2. Confirm that a trusted Certificate Authority (CA) issues the SSL certificate.
  2. Update WordPress URL Settings-
    1. Log in to your WordPress admin dashboard.
    2. Go to Settings > General.
      Settings>General
    3. Update both the WordPress Address (URL) and Site Address (URL) fields to use “https://” instead of “http://”.
      WordPress URL settings
  3. Update .htaccess File-
    1. Access your website’s root directory via FTP or cPanel File Manager.
    2. Locate the .htaccess file and download it for backup..htaccess
    3. Open the .htaccess file in a text editor.
    4. Add the following code at the beginning of the file-
      <IfModule mod_rewrite.c>
      RewriteEngine On
      RewriteCond %{HTTPS} off
      RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
      </IfModule>
      .htaccess code
    5. Save the changes and upload the modified .htaccess file back to your server.
      save
  4. Update wp-config.php File-
    1. Access your website’s root directory via FTP or cPanel File Manager.
      File Manager
    2. Locate the wp-config.php file and download it for backup.
      wp-config.php
    3. Open the wp-config.php file in a text editor.
    4. Add the following code just before the “/* That’s all, stop editing! Happy blogging. */” line –
      define(‘FORCE_SSL_ADMIN’, true);
      add code
    5. Save the changes and upload the modified wp-config.php file back to your server.
      Save changes
  5. Clear Cache and Cookies-
    Clear your browser’s cache and cookies to ensure that the changes take effect.
  6. Test WordPress Updates-
    1. Return to your WordPress admin dashboard.
    2. Attempt to update WordPress themes and plugins.
    3. Verify that the updates are now successful without any SSL-related errors.

By following these steps, you should be able to fix the “WordPress Updating Failed Error” caused by SSL issues. If you encounter any difficulties or have further questions, please do not hesitate to reach out to our WHUK’s support team for assistance.

Dominos Search