All css and js load url http not https after apply ssl in my wordpress site.
home page load proper but inner page not load proper because css and js path use http.
url use https.
All css and js load url http not https after apply ssl in my wordpress site.
home page load proper but inner page not load proper because css and js path use http.
url use https.
Comments are closed.
Add this to your wp-config.php
And make sure all your CSS and JS is using the enque functions:
https://codex.wordpress.org/Plugin_API/Action_Reference/wp_enqueue_scripts
If the web server is behind a proxy service, like squid or cloudflare,
you can add these two lines inside of “is_ssl()” function
in “wp-includes/load.php” file.
Finally you will get this: