Month: July 2019

Fix wordpress 5 auto add P and br tags in code or post

Fix wordpress 5 auto add P and br tags in code or post

After upgrade wordpress, i found that the content writing post now different than previous. The most annoying part is there automatically adding p and br tags. I just realized this is because wordpress have a new editor called Guttenberg. To avoid this and revert back to previous editor, just install : https://wordpress.org/plugins/classic-editor/

Upgrade Latest WordPress AWS EC2 without FTP

Upgrade Latest WordPress AWS EC2 without FTP

Here is a quickstep upgrade wordpress in AWS EC2 Ubuntu without FTP. Restart your NGINX and PHP-FPM just in case 1. Download the latest code 12cd ~/ wget -c https://wordpress.org/latest.zip unzip latest.zip 2. Go to your wordpress folder 1234mkdir ~/backup mv wp-includes ~/backup/ mv wp-admin ~/backup/ mv wp-settings.php ~/backup/ 3.Update the wp-includes, wp-admin and wp-settings.php …

+ Read More

Setup Letsencrypt in AWS EC2 Ubuntu Yakkety, Xenial or old version and fix issues NGINX

Setup Letsencrypt in AWS EC2 Ubuntu Yakkety, Xenial or old version and fix issues NGINX

To setup letsencrypt in Ubuntu, first go to SSH into your server. In this case, i will use my own domain as example. I found few issues when doing this step. If you facing similar issues in setup letsencrypt including “invalid certificate” on NGINX, This article will help you to fix that. 1. Install manual …

+ Read More

Fix Ubuntu apt-get update ign on AWS EC2 Yakkety, Xenial and other version

Fix Ubuntu apt-get update ign on AWS EC2 Yakkety, Xenial and other version

I tried to login into old EC2 AWS ubuntu server and doing apt-get update. I got issue with so many “IGN” where no hit. I thought this issue because source.list. Apparently this issue because now ubuntu have different path for software update for old ubuntu version. Please use this to replace your “us-west-2.ec2.archive.ubuntu.com” into “old-releases.ubuntu.com”. …

+ Read More