Why does WordPress uses HTTPS for JS, CSS on EC2

The Reason for the Issue was https-redirection plugin. I wasnt aware there was https-redirection plugin installed. So, even though i checked wp-config.php & .htaccess for SSL redirects, the plugin was forcing SSL for CSS/JSS/images. I renamed the plugin folder and everything is proper now. sudo mv /var/www/html/wp-content/plugins/https-redirection /var/www/html/wp-content/plugins/STOP-https-redirection

Mixed content error after adding SSL certificate

You have version 1.6.0 of the crossslide plugin. (I’d guessed 1.5.2 since the changelog said 1.6.0 fixed this, but it didn’t.) You can fix this by unticking the ‘Default jQuery’ option in the plugin configuration, which removes the ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js include replacing $( with jQuery( on lines 101 and 102, i.e. instead of $(function(){ $(‘#crslideshow’).crossSlide({ you … Read more

customizer not working when ever i activate ssl

If you’re using Cloudflare’s flexible SSL then you will run in to issues with WordPress. From my basic understanding, this is because Cloudflare’s flexible SSL doesn’t offer end-to-end encryption, it essentially encrypts items between the client and Cloudflare, but not from Cloudflare to your server. Because of this, WordPress won’t always serve up the files … Read more

SSL not working fine, Home url not matching with site url wordpress errors

There are two ways of seeting the Site URL. In the dashboard. In the wp-config.php file. In the functions.php file. If you cannot change Option 1 above, then you should NOT edit the table in PhpMyAdmin. Check for the following in wp-config.php: define( ‘WP_HOME’, ‘http://example.com’ ); define( ‘WP_SITEURL’, ‘http://example.com’ ); If you can’t find that, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)