Ecommerce Shopify WordPress Discussion

WordPress | Mixed Content after change URL

After change Wordpress URL i noticed issue with mixed content. In databse i define https:// URL. Also in wp config I define with https:// Also in CloudFlare I enable always use https, and automatic https rewrites. The problem is after access to wordpress with https:// not load styles etc, and in log console I see mixed content error: Wordpress still all data try load with http:// example http://wp-content/images/photo.jpg etc. But all URL is definied with https://
It seems like you've taken the right steps in updating the WordPress URL in the database, configuring it in the wp-config file, and enabling HTTPS on Cloudflare. However, mixed content issues can still occur if there are hard-coded HTTP URLs in your WordPress theme files, content, or database. Here are some steps you can take to resolve mixed content issues in WordPress: Search and Replace in Database: Use a tool like phpMyAdmin or a search-and-replace plugin to search for instances of "http://" in your database and replace them with "https://". Be cautious and make a backup before making changes to the database. Update Theme Files: Check your theme files for any hard-coded HTTP links. Look into your theme's header.php, footer.php, and other template files. Update any URLs to use "https://" instead of "http://". Check Content: If you have embedded content (images, videos, etc.) in your posts or pages with HTTP URLs, update them to use HTTPS. You can do this manually or use a search-and-replace tool. Update Plugins: Some plugins may generate URLs dynamically. Make sure that your plugins are up to date, and check their settings for any options related to URLs. If you find any HTTP URLs, update them. Check .htaccess File: Look into your .htaccess file for any rules that force HTTP. If you find such rules, update them to use HTTPS. Browser Cache: Clear your browser cache or try accessing your website in an incognito/private browsing window to ensure you are not seeing cached content. WordPress Address and Site Address: Double-check the WordPress Address (URL) and Site Address (URL) settings in the WordPress dashboard under Settings > General. Make sure they both use "https://". Cloudflare Settings: Review your Cloudflare settings to ensure that there are no configurations conflicting with HTTPS. Also, clear the Cloudflare cache if applicable. After making these changes, you should be able to load your WordPress site with HTTPS without any mixed content issues. If the problem persists, you may want to use browser developer tools to inspect the specific resources causing the mixed content warnings and trace them back to their source in your WordPress installation.

December 29, 2023

TurboCommerce make the better internet purchasing globaly

Turbo Multi-language Translator

Make the better internet purchasing globaly

Turbosify SEO Speed Booster

5.0 (7) Free plan available
Get better conversions by improving store loading speed Installed

Turbo Multi-language Chat - AI Customer service in one hand

TurboCommerce make the better internet purchasing globaly
Our products

The help you need, when you need it

App by Turbo Engine

3 apps • 5.0 average rating

Turbosify Speed Booster

5.0 (7)
Get better conversions by optimizing shopify store Google page speed Installed

Turbosify Translator for Wordpress Woocommerce

5.0 (74) Free Wordpress Woocommerce Plugin
Translate your wordpress website to multiple language within 1 click, no configuration needed, no No technical required

Grow your business here

Whether you want to sell products down the street or around the world, we have all the tools you need.