
Let’s face it. At some point, while running your WordPress site, you will run into issues and errors and may ultimately have to ask yourself, How Do I Fix My WordPress Site?
Continue reading “How to Fix Typical WordPress Errors”Through our expansive tutorials, we take on the beast known as WordPress! Whether you are a beginner blogger who needs help creating a site or an expert web admin needing to perform a search and replace, there is a tutorial for you here!
Let’s face it. At some point, while running your WordPress site, you will run into issues and errors and may ultimately have to ask yourself, How Do I Fix My WordPress Site?
Continue reading “How to Fix Typical WordPress Errors”In this article, we will be reviewing how to connect to your WordPress Optimized Template using SFTP as the connection medium.
SSH File Transfer Protocol (SFTP) is the most secure way to upload files to your WordPress Optimized Template site. This article is intended specifically for connecting to a WordPress Optimized Template site using the free, cross-platform FTP client FileZilla, but the connection details should apply to any FTP client.
WordPress has a great GUI-based installation process however some use cases call for CLI! Or, maybe you just feel more at home in a terminal, either way this article will show you how to get your WordPress site setup with just a terminal, using WP-CLI, and maybe a sprinkle of SSH.
In order to be able to install WordPress manually using WP-CLI you will first need to create a new database for the WordPress install. You will need to know how to find your SSH credentials as well as being used to using Terminal or Putty and WP-CLI.
Continue reading “Installing WordPress using WP-CLI”In this article, we will discover managed hosting, VPS hosting, and dedicated hosting, how they compare and differ from each other, as well as the pros and cons of each. These concepts aren’t mutually exclusive; we hope to provide you a better idea of what to look for in a hosting solution.
Continue reading “Managed Hosting vs VPS Hosting”The short answer is an overwhelming Yes!
W3 Total Cache is currently the best WordPress plugin for cache-based, performance optimization. W3 Total Cache improves the overall speed of your site by caching multiple elements on your pages which improves the overall responsiveness of your webserver.
wp cli update
Next, you will need to install a number of libraries that the package uses to optimizes jpeg, png and gif images with these commands:
sudo apt-get install jpegoptim
sudo apt-get install optipng
sudo apt-get install pngquant
sudo apt-get install gifsicle
Now you can install the stable version of the image-optimize package with this command:
wp package install typisttech/image-optimize-command:@stable
wp image-optimize mu-plugins
wp image-optimize plugins
wp image-optimize themes
wp image-optimize wp-admin
wp image-optimize wp-includes
You can use this command to regenerate all thumbnails on a site.
wp media regenerate --yes
You may need to limit how many images that image-optimize will process in a single back. To limit the batch size, you just need to add the –limit flag to the end of the batch command and specify the amount, as shown in these examples:
wp image-optimize batch --limit=500
wp image-optimize batch --limit=1000
wp image-optimize batch --limit=2500
wp image-optimize batch --limit=5000
When using the image-optimize WP-CLI command, server CPU usage may be intensive, so run the batch commands in smaller sizes during the off hours times on your site. You can track CPU usage whilst running a batch optimize command by using htop. You can install and run htop using the following commands:
sudo apt-get install htop
htop
To use htop to monitor server load, keep a terminal window open while the batch optimize command is running in another terminal window. In our testing, the CPU usage was not too high.
1.61GB/3.74GB Memory usage
180M - 3.86GB Swap
wp image-optimize attachment 123
To restore the attachment for 123 the command to run would be:
wp image-optimize restore 123
You can use the wp media regenerate command to regenerate a specific media file.
wp media regenerate 123
Being able to optimize the images in your WordPress sites media library will reduce the amount of storage needed for your site. Optimization will also improve the speed and performance of your site for visitors, improving user experience and satisfaction.