Making a development site live, on Amazon EC2

Well, let’s drill down on this situation a little bit: Do you have git enabled on both environments? Do you need to migrate the database as well? Most of the situation depends on how the previous developer has set it up. Ideally you have different branches in git and you’re merging the develop with the … Read more

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

Silly Problem Referencing a Post ID

I’m surprised, your site works as desired, if you really call the_post for the button. This function does not echo the post’s ID, it simply fetches the next post of the current query. If I understood you correctly (and I’m not so sure about that), you only want to get the current post’s ID so … Read more

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