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

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

How to protect login via SSL but not the rest of the dashboard

It is probably possible, but if you do it the security impact is like not using ssl at all unless all you want to protect is your user and password and don’t care much about protecting against actual hacking into the site. While user and password are sent only as part of the login form, … Read more

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