Description
After enabling SSL, some resources are still loaded over HTTP, causing "mixed content" warnings.
Causes
Hardcoded HTTP URLs in theme or plugins.
Solution
Use a Plugin
Install and configure the "Really Simple SSL" plugin.Update Database URLs
Use the "Better Search Replace" plugin or run the following SQL query
UPDATE wp_options SET option_value = replace(option_value, 'http://yourdomain.com', 'https://yourdomain.com') WHERE option_name = 'home' OR option_name = 'siteurl';
UPDATE wp_posts SET post_content = replace(post_content, 'http://yourdomain.com', 'https://yourdomain.com');
UPDATE wp_postmeta SET meta_value = replace(meta_value, 'http://yourdomain.com', 'https://yourdomain.com');
WordPress development services to build custom websites that are fast, secure, and easy to manage. From creating themes and plugins to optimizing performance, we ensure your website meets your business needs. Get a professional, user-friendly site that stands out.
Top comments (0)