2.13.1.9. Setting up HTTPS in WordPress

Since version 5.7, the translation of WordPress to HTTPS significantly simplified... You can switch the site to work using a secure protocol in just one click — WordPress itself will fix the protocol in all URL... If possible CMS will handle errors on its own mixed content.

Attention!

Automatic update URL impossible if URL-addresses of the site are specified in constants. In this case, the protocol will need to be updated manually.

To switch WordPress to HTTPS do the following:

  1. Check the presence of an installed SSL certificate in SSL settings... If the certificate is missing, install his.
  2. Disable redirect to HTTP / HTTPS. This is necessary so that a cyclic redirect does not occur during the configuration process.
  3. Openup Adminpanel site.
  4. Go to section "Tools → Site health" ("Tools → Site Health").
  5. Expand the line in the report "Your site is not using HTTPS" ("Your website does not use HTTPS") and press "Switch your site to use HTTPS" ("Update your site to use HTTPS").
  6. Check the site is working.
To perform basic WordPress setup for HTTPS, follow these steps:
  1. Check the presence of an installed SSL certificate in SSL settings... If the certificate is missing, install his.
  2. Disable redirect to HTTP / HTTPS. This is necessary so that a cyclic redirect does not occur during the configuration process.
  3. V adminpanels site (not in the hosting control panel) in the section "Settings → General" ("Settings → General") in addresses (URL) instead of the protocol http:// indicate https://:
  4. Test the site by opening it over HTTPS.
  5. If everything is okay turnon redirect to HTTPS.
  6. Check the site again.

In most cases, the described actions are enough for the site to work over HTTPS.

Note

In case of problems with HTTPS due to errors "Mixed Content" takeadvantage instruction.

Content