Post by account_disabled on Oct 21, 2023 2:50:00 GMT
There are also other tools, the important thing is not to make the replacement via direct queries on the DB because many WordPress data are serialized and modifying them manually with sql queries on the database, or text replacements on the dump of the same is wrong (the serialized fields would be corrupted. Update hard-coded links in your theme and plugins When available, you will have to use the http versions of the resources used (font, css, libraries, etc), again to avoid the "mixed-content" warning.
This work cannot be totally automated. First of all you will have to do a search with a specific tool (such as grep or ack), and replace the occurrences you find (after evaluating whether it can be done). Then you will have to scroll through the pages and see with the debugger which http resources still generate warnings, look for who inserts them (theme or plugin or configuration file) and photo editor replace them with the corresponding https version (if possible), or delete them (if practicable. Update htaccess with redirect to https In the .htaccess file you will need to insert, before the WordPress section, a redirect of all http pages.
To the corresponding https pages. It can be done in different ways, I use this: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule{REQUEST_URI} [R= ,L] Update wp-config. Force SSL login and SSL admin by adding this parameter in wp-config define('FORCE_SSL_ADMIN', true); Update robots. If you use a static robots. that too will need to be checked and possibly updated. Update external services related to the site You will have to update all external services that refer to the site, in particular: Google Search Console (webmaster tools); Google Analytics; Any SEO service you use (Semrush or similar); Check for correct operation At this point everything should be installed and configured correctly, but it is a good idea to carry out a careful check.
This work cannot be totally automated. First of all you will have to do a search with a specific tool (such as grep or ack), and replace the occurrences you find (after evaluating whether it can be done). Then you will have to scroll through the pages and see with the debugger which http resources still generate warnings, look for who inserts them (theme or plugin or configuration file) and photo editor replace them with the corresponding https version (if possible), or delete them (if practicable. Update htaccess with redirect to https In the .htaccess file you will need to insert, before the WordPress section, a redirect of all http pages.
To the corresponding https pages. It can be done in different ways, I use this: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule{REQUEST_URI} [R= ,L] Update wp-config. Force SSL login and SSL admin by adding this parameter in wp-config define('FORCE_SSL_ADMIN', true); Update robots. If you use a static robots. that too will need to be checked and possibly updated. Update external services related to the site You will have to update all external services that refer to the site, in particular: Google Search Console (webmaster tools); Google Analytics; Any SEO service you use (Semrush or similar); Check for correct operation At this point everything should be installed and configured correctly, but it is a good idea to carry out a careful check.