So you want to know about WordPress Optimization? Well I've scoured the web (and continue to do so frequently) for ways to optimize the various Wordpress blogs that I run. While I can't claim to be the source of all knowledge on this topic, I can tell you what has worked well for me and how I run all of my blogs (some have seen upwards of 60K visits in a day!) on a single server and don't lose a second of sleep over it.
I'll be splitting this post into several parts mostly because I just can't bring myself to put this all into one giant monotonous post. What I will do for you though is cover topics from start-to-finish that I'll bring down so even the average blogger can setup, run, and optimize their server all on their own. Yes this sounds daunting, but honestly, this is great knowledge and gets you out from under the thumb of your terrible hosting provider you have now.
From start-to-finish, this definitive guide will be covering the following over the next few weeks:
- Getting Started (What You Need)
- Domain Name
- A Good Server or Host
- Setting Up Your First Server
- Why anyone can do this!
- Virtual Servers - WTF is a Virtual Server and Where Do I Get One?
- Size and Speed Considerations
- Server Operating Systems - What I recommend.
- Accessing Your Server
- Important Linux Commands
- File Editing - The Basics
- Security Considerations - How to Lock-It-Down
- Setting up a Web Server
- nginx - Because I won't be covering Apache.
- General nginx Configuration
- Installing PHP
- PHP-FPM
- Tuning PHP-FPM
- Installing PHP Modules
- Configuring Your Website on Nginx
- Generic Configuration Files
- Your Domain Configuration
- Configuring CloudFlare as Your DNS Provider
- Setting Up CloudFlare
- Create CloudFlare Account
- Importing/Adding your DNS
- Configuring Your DNS for your Server
- Setting Up CloudFlare
- Installing and Configuring WordPress
- Installing MySQL and Configuring Your Database
- Tuning MySQL for WordPress
- Creating a Database
- Creating a User
- Granting your User Permission to Use Your Database
- Installing and Configuring WordPress
- Downloading WordPress
- Configuring WordPress
- Updating WordPress
- Important Wordpress Plugins
- Jetpack (Strapping In)
- Search Engine Optimization (Get Indexed)
- Performance (Speeding Up)
- Compression (Making it Smaller)
- Structured Data (Making it Readable)
- Installing MySQL and Configuring Your Database
- Caching Your Website
- What the Hell is Caching anyway?
- The Benefits of Caching
- Caching Methods
- W3 Total Cache
- Memcached
- PHP APC Opcode
- Disk Caching
- Hooking into CloudFlare
- Optimizing Static File Delivery
- Using Varnish to Reduce Server Load and Page Response Times
- Installing Varnish
- Configuring Varnish
- Re-configuring nginx for Varnish
- Securing Varnish
- Tuning Varnish
- Using Redis to Cache Wordpress [Advanced]
- Installing Redis
- Configuring Redis
- Tuning Redis
- WP-Redis
- W3 Total Cache
- Tuning Your Server
- Managing Memory
- nginx
- mysql
- php-fpm
- memcached
- redis
- varnish
- Scaling Up
- Managing Memory
- Getting Into The Search Engines
- Google Webmaster Tools
- Bing Webmaster Tools
- Google Analytics
Stay tuned as these will be turned into seven (well, 8 including the getting started bit) individual posts so you can get that WordPress site configured and running like a lean-mean-blogging-machine in no time!