I finished upgrading all the nineteen (19) Websites and blogs that I maintain using WordPress as a CMS (Content Management System) and as a blog publishing platform to WordPress 5.7 “Esperanza”.
During the upgrade, I encountered a few problems. Before and after the upgrade, I would check “Site Health Status” of the site and then try to resolve the problems.
I encountered a problem regarding HTTPS on one of the Websites but was able to resolve it by temporarily changing the theme of that particular Website which I intend to redesign later.
I also encountered a problem regarding PHP version but resolved it too by upgrading to PHP 7.4 as recommended.
Another problem was, the authorisation header was missing according to “Site Health”. I simply flushed the permalinks as indicated below the message.
When flushing permalinks did not work, I just checked the file “.htaccess” and looked if the new line below was added between “RewriteEngine On” and “RewriteBase /”. If it was not added, I just added it.
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
Old WordPress .htaccess codes
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
New WordPress .htaccess codes
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
There were a few more minor problems but they can be ignored for a while. I will resolve them as soon as possible.
I did not check the new features of WordPress 5.7 “Esperanza”. I just would like to upgrade to the new version, just for the reason of upgrading all the Websites and blogs.
If you like the new features of WordPress 5.7 “Esperanza”, upgrade now but do not forget, backup your databases and files first before upgrading your blogs and sites.
By the way, if you noticed, I have no post regarding WordPress 5.6 “Simone”. It takes time to upgrade all the Websites and blogs as I maintain quite a few, so I intentionally skipped upgrading to WordPress 5.6 “Simone”.