Total 10 Posts

WordPress API development with Postman or PAW

The Wordpress API works well. Once you figure out how to send a REST request, you'll be jamming in no time. Below are a few lessons I've learned along the way on how to streamline the development cycle. Tips Tip 1: Pick an API tool Although ```curl`` is a fantastic

Permissions on Wordpress

Permissions are super important, somewhat awkward and really easy to forget. I'm always googling them which is why I'm writing this blog post for myself. When it comes to Wordpress, this is the only rule of thumb you need to remember. DIRECTORIES All directories should be 755 or 750. FILES

AWS: Connect to Lightsail using SFTP and Panic Transmit

Amazon offers a newer, simpler alternative to EC2 instances called Lightsail. Lightsail is very easy to use and excellent for any small business interested in creating a simple app. I was recently asked to create a Wordpress website using Lightsail and it took less than 10 minutes. In fact, the

Bitnami WordPress Cheatsheet for AWS Lightsail

I'm currently working on two WordPress websites that have been pre-configured by Bitnami within a Virtual Private Cloud. Below are a few select commands I use all the time but only found them while scouring through forums and comment boxes. I hope this collection helps other WordPress managers save time.

AWS: Modifying Robots.txt within a Bitnami EC2 instance

Bitnami offers Wordpress for AWS Cloud which is great for developers whom are not interested in focusing on DevOps topics such as installing php, Apache and Wordpress. The Bitnami package does it all but there are a few things you'll need to modify including robots.txt files. In this blog

Install Let's Encrypt SSL on Wordpress Lightsail or EC2 by Bitnami

We are going to use Let's Encrypt Certificate Authority to create and install a free SSL certificate. Step 1 - Log In ssh -i /path/to/file.pem bitnami@xx.xxx.xxx.xxx Step 2 - Install Git Update your package manager. sudo apt-get update Install Git. sudo apt-get install

Installing WordPress on EC2 using Bitnami package

I've spent many years installing and configuring WordPress blogs on EC2, and here's generally how things start. Manual Install First download these tools: # Apache2 => httpd # PHP => php # MySQL Ext => php-mysql # MySQL => mysql-server # SSL Module => mod_ssl # OpenSSL => openssl Log in as Super User sudo

Wordpress: Disable HTML in Wordpress comments

You might need to strip out HTML in comments and here's how. /** ******** ******** ******** ******** ******** ******** ******** ******** * TITLE: Disable HTML in WordPress comments * DESCRIPTION: Disallow HTML in WordPress comments, add this snippet to your functions.php file. * * http://www.labnol.org/internet/wordpress-optimization-guide/3931/ */ add_filter( 'pre_comment_content', 'wp_specialchars' );

Wordpress: Replace a theme's Google font with your own

You like a theme but it's referencing a Google font you want to switch out. Here's the simplest way to do it, by keeping the .class names but switching out the Google Font URL. /** ******** ******** ******** ******** ******** ******** ******** ******** * TITLE: Add Font * DESCRIPTION: Add Specific Google Font */ function add_fonts() { // Styles Format: wp_enqueue_style(