SlideShare a Scribd company logo
Optimize Your
WordPress Site
  Better, Faster, Stronger
David Parsons

Work at HostDime.com

 Web Developer

 WordPress Developer

@david_j_parsons

djp424@gmail.com
Optimize


To make as perfect, effective, or functional as
possible

  merriam-webster.com
My Definition


Better - Plugins

Faster - Speed

Stronger - Security
Why Optimize

Stupid Google

Speed has been a ranking factor sense 2010

  Usability

  Quality

  Credibility
Why WordPress

Themes

Plugins

Community

Save Money

Greater Accessibility - CMS
Why Not WordPress
Better!
       Plugins
Your Personal Unfair Advantage
Plugins
Image Compression
General - Upload images at exact size needed

Plugin - WP Smush.it (being dropped)

  CW Image Optimizer

  EWWW Image Optimizer

Applications - One for Mac and One for PC

  imageoptim.com and pnggauntlet.com
Plugins
      Social Media
Tweet Old Posts

TwitPic

WP to Twitter

Twitter Feed for WordPress

ShareThis & TweetMeme Button
Plugins
    Contact Forms

Gravity Forms

Contact Forms 7

Fast and Secure Contact Form
Plugins
Make Search Not Suck


 Search by Relevance, Not by Date

 Enhance The Display of Results
Plugins
             SEO
WordPress SEO by Yoast
My Favorite Plugin
    JetPack

Custom CSS

Mobile Theme

Subscriptions

Comments
Non-Plugins
Final Note on Plugins

 Resist the Urge for Several Plugins

 Deactivate and Delete old Plugins/Themes

 Keep Plugins Updated

 Go for the Better Supported Plugins
Faster!




http://www.seomoz.org/blog/site-speed-are-you-fast-does-it-matter
Why Faster?
Why is 3 or 4 seconds not good enough?

  Phones

  People are in a rush

  Around 5% of the web still uses DialUp

  “For Every 100ms Increase in load time, sales
  decreased by 1%” - Amazon 2007
http://www.webpagetest.org
One More Tool...
Google Page Speed Checker
Hope Your Doing This


 Have separate file for CSS

 Load Javascript and other bigger things at
 bottom of page
Faster
Quick Fix #1 - Cache

Browser Cache (Saving Files)

  Expires Headers

Server Cache (One Static File)

  Plugin - W3 Total Cache
More On Browser
      Cache

https://github.com/h5bp/html5-boilerplate/
blob/master/.htaccess
   # ----------------------------------------------------------------------
   # Expires headers (for better cache control)
   # ----------------------------------------------------------------------




Up To You!
Faster
Quick Fix #2 - Combine

 Combine Your CSS Files

 Combine JS Files

   Tool - CodeKit

 Why? - Less Server Requests
Faster
Quick Fix #3 - Theme
 Choose the Right Theme

  Themes with lots of Graphics will take
  Longer to Load

  Double Check CSS and JS

  Keep Number of Requests in Mind
Compare and
  Contrast
Faster
Quick Fix #4 - MaxCDN




    http://www.maxcdn.com
Faster
Quick Fix #5 - GZIP
https://github.com/h5bp/html5-boilerplate/
    # ----------------------------------------------------------------------
    # Gzip compression
    # ----------------------------------------------------------------------




Or Use a Plugin

  GZIP Enable

  GZIP Output

  Gzippy
Faster
  Not A Quick Fix!
      Hosting
Shared Host

Virtual Private Server

Fully Dedicated

Colocation (HostDime.com Specific)
Final Note On Plugins


     Lets Not Get Crazy!
Stronger!
Go Away Spammers!
Spammers are constantly injecting scripts

  Slowing Your Server Down

Essential Plugins

  Akismet/JetPack

  Spam Free WordPress

Other Option - Captcha
Stronger
 Don’t Use ‘admin’
Don’t use ‘admin’ as your username

  WordPress 3.0+ lets you change it

  For older versions - Open phpMyAdmin and
  run this query:
Stronger
P: Login LockDown
Only lets users try and log in a certain amount
of times
Stronger
      P: Secure WordPress
• Removes error-information on login-page
• Adds index.php plugin-directory (virtual)
• Removes the wp-version, except in
  admin-area
• Removes Really Simple Discovery
• Removes Windows Live Writer
• Removes core update information for
  non-admins
• Removes plugin-update information for
  non-admins
• Removes theme-update information for
  non-admins (only WP 2.8 and higher)
• Hides wp-version in backend-dashboard
  for non-admins
• Removes version on URLs from scripts
  and stylesheets only on frontend
• Blocks any bad queries that could be
  harmful to your WordPress website
Stronger
Move wp-config.php

WordPress automatically looks for wp-
config.php if it cannot find it

This way, no one except a user with FTP or
SSH access to your server will be able to read
the file
Stronger
Change Database Tables Prefixes


 Default table prefix is wp_...

 If left in tact, everyone knows the name

 Can edit by going into wp-config.php

   Plugin - WP Secure Scan
Stronger
 Change Default Secret Keys


In wp-config.php you have 4 secret keys

   define('AUTH_KEY', '');

   define('SECURE_AUTH_KEY', '');

   define('LOGGED_IN_KEY', '');

   define('NONCE_KEY', '');




Makes logging in to your site even harder for
those crazy hackers
Stronger
Protect wp-admin
Plugin - AskApache Password Protect

Block people from finding your content though
server access ... use .htaccess

  wp-includes

  wp-content

  Plugins & Themes
Stronger
          Passwords

Letters

Numbers

Special Characters

Caps
Stronger
          Backups
Plugins

  WP Database Backup

  WP Backup to DropBox

  Backup to Google Drive

Premium - VaultPress
Final Note On
  Security

   It Depends!




     .htaccess
Take Away



Less Stuff = Faster WordPress
Thank You!
djp424@gmail.com

  Tell me how I did!
                                HostDime.com
@david_j_parsons

  Will Post Slides on Twitter

davidparsons.me

Slides will be on BarCamp Site

More Related Content

PPTX
20 tips to Improving Your WordPress Site...for Beginners
PPTX
20 Tips to Improving WordPress Website - for Beginners-Aus-2017
PDF
Optimizing wp
PPTX
Squeeze Maximum Performance From Your Joomla Website
PDF
Keep the Web Fast
PPT
HTML5 CSS3 The Future of Web Technologies
PDF
Speeding up your WordPress Site - WordCamp Toronto 2015
PDF
Responsible [digital] Home Ownership
20 tips to Improving Your WordPress Site...for Beginners
20 Tips to Improving WordPress Website - for Beginners-Aus-2017
Optimizing wp
Squeeze Maximum Performance From Your Joomla Website
Keep the Web Fast
HTML5 CSS3 The Future of Web Technologies
Speeding up your WordPress Site - WordCamp Toronto 2015
Responsible [digital] Home Ownership

What's hot (20)

PPTX
Getting started with WordPress development
PPTX
I Can Haz More Performanz?
PPTX
40 WordPress Tips: Security, Engagement, SEO & Performance - SMX Sydney 2013
PPT
Heavy Web Optimization: Frontend
PDF
Does This Theme Make My Website Look Fat? (Wordcamp SLC 2013)
PPTX
The Power of a Video Library - WordCamp Raleigh
PPTX
Word press sites maintenanace
PDF
WordPress Performance optimization
KEY
Joomla Extreme Performance
PDF
8 Ways to Hack a WordPress website
PDF
Amazing WordPress & Productivity Tips
PDF
Hardening WordPress - Friends of Search 2014 (WordPress Security)
PPT
Caching strategy and apc
PPTX
WordPress Insider Meetup Group - Jan, 7, 2016 meeting
PPTX
WordPress in 90 minutes
PPT
Week 9 - Introduction to Child Themes
PDF
Using composer with WordPress
PPT
Week 12 - Search Engine Optimization
PPT
Week 7 introduction to theme development
PPTX
5 Things You Shouldn't Do With A WordPress Plugin
Getting started with WordPress development
I Can Haz More Performanz?
40 WordPress Tips: Security, Engagement, SEO & Performance - SMX Sydney 2013
Heavy Web Optimization: Frontend
Does This Theme Make My Website Look Fat? (Wordcamp SLC 2013)
The Power of a Video Library - WordCamp Raleigh
Word press sites maintenanace
WordPress Performance optimization
Joomla Extreme Performance
8 Ways to Hack a WordPress website
Amazing WordPress & Productivity Tips
Hardening WordPress - Friends of Search 2014 (WordPress Security)
Caching strategy and apc
WordPress Insider Meetup Group - Jan, 7, 2016 meeting
WordPress in 90 minutes
Week 9 - Introduction to Child Themes
Using composer with WordPress
Week 12 - Search Engine Optimization
Week 7 introduction to theme development
5 Things You Shouldn't Do With A WordPress Plugin
Ad

Similar to Optimize wordpress (20)

PPTX
Presentation to SAIT Students - Dec 2013
PPTX
Caching 101
PPTX
WordPress Optimization & Security - ThinkVisibility 2012, Leeds
PPTX
Advanced WordPress Optimization - iGaming Supershow 2012
PPTX
WordPress Plugins and Security
PDF
WordPress At Scale. WordCamp Dhaka 2019
PPTX
WordPress Resources Nov 2014
PDF
Speeding up your WordPress site - WordCamp Hamilton 2015
PPTX
WordCamp RI 2015 - Beginner WordPress Workshop
PPTX
Battling the WSOD - A Tech Support Tale
PPTX
Optimizing WordPress - WordPress SF Meetup April 2012
PPTX
WordPress Optimization & Security - LAC 2013, London
PPT
WordPress Security
PPTX
WordPress
PDF
5 Steps to Develop a WordPress Plugin From Scratch.pdf
PDF
23 Ways To Speed Up WordPress
PPT
Making the Most of Plug-ins - WordCamp Toronto 2008
PPTX
WordPress Security Updated - NYC Meetup 2009
PPTX
WordPress plugin development
Presentation to SAIT Students - Dec 2013
Caching 101
WordPress Optimization & Security - ThinkVisibility 2012, Leeds
Advanced WordPress Optimization - iGaming Supershow 2012
WordPress Plugins and Security
WordPress At Scale. WordCamp Dhaka 2019
WordPress Resources Nov 2014
Speeding up your WordPress site - WordCamp Hamilton 2015
WordCamp RI 2015 - Beginner WordPress Workshop
Battling the WSOD - A Tech Support Tale
Optimizing WordPress - WordPress SF Meetup April 2012
WordPress Optimization & Security - LAC 2013, London
WordPress Security
WordPress
5 Steps to Develop a WordPress Plugin From Scratch.pdf
23 Ways To Speed Up WordPress
Making the Most of Plug-ins - WordCamp Toronto 2008
WordPress Security Updated - NYC Meetup 2009
WordPress plugin development
Ad

Recently uploaded (20)

PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Electronic commerce courselecture one. Pdf
PPTX
Machine Learning_overview_presentation.pptx
PDF
Getting Started with Data Integration: FME Form 101
PDF
cuic standard and advanced reporting.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
MYSQL Presentation for SQL database connectivity
PDF
A comparative analysis of optical character recognition models for extracting...
PPTX
1. Introduction to Computer Programming.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPTX
Tartificialntelligence_presentation.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Programs and apps: productivity, graphics, security and other tools
Electronic commerce courselecture one. Pdf
Machine Learning_overview_presentation.pptx
Getting Started with Data Integration: FME Form 101
cuic standard and advanced reporting.pdf
Spectral efficient network and resource selection model in 5G networks
MIND Revenue Release Quarter 2 2025 Press Release
MYSQL Presentation for SQL database connectivity
A comparative analysis of optical character recognition models for extracting...
1. Introduction to Computer Programming.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Tartificialntelligence_presentation.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Assigned Numbers - 2025 - Bluetooth® Document
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
gpt5_lecture_notes_comprehensive_20250812015547.pdf

Optimize wordpress

  • 1. Optimize Your WordPress Site Better, Faster, Stronger
  • 2. David Parsons Work at HostDime.com Web Developer WordPress Developer @david_j_parsons [email protected]
  • 3. Optimize To make as perfect, effective, or functional as possible merriam-webster.com
  • 4. My Definition Better - Plugins Faster - Speed Stronger - Security
  • 5. Why Optimize Stupid Google Speed has been a ranking factor sense 2010 Usability Quality Credibility
  • 8. Better! Plugins Your Personal Unfair Advantage
  • 9. Plugins Image Compression General - Upload images at exact size needed Plugin - WP Smush.it (being dropped) CW Image Optimizer EWWW Image Optimizer Applications - One for Mac and One for PC imageoptim.com and pnggauntlet.com
  • 10. Plugins Social Media Tweet Old Posts TwitPic WP to Twitter Twitter Feed for WordPress ShareThis & TweetMeme Button
  • 11. Plugins Contact Forms Gravity Forms Contact Forms 7 Fast and Secure Contact Form
  • 12. Plugins Make Search Not Suck Search by Relevance, Not by Date Enhance The Display of Results
  • 13. Plugins SEO WordPress SEO by Yoast
  • 14. My Favorite Plugin JetPack Custom CSS Mobile Theme Subscriptions Comments
  • 16. Final Note on Plugins Resist the Urge for Several Plugins Deactivate and Delete old Plugins/Themes Keep Plugins Updated Go for the Better Supported Plugins
  • 18. Why Faster? Why is 3 or 4 seconds not good enough? Phones People are in a rush Around 5% of the web still uses DialUp “For Every 100ms Increase in load time, sales decreased by 1%” - Amazon 2007
  • 20. One More Tool... Google Page Speed Checker
  • 21. Hope Your Doing This Have separate file for CSS Load Javascript and other bigger things at bottom of page
  • 22. Faster Quick Fix #1 - Cache Browser Cache (Saving Files) Expires Headers Server Cache (One Static File) Plugin - W3 Total Cache
  • 23. More On Browser Cache https://github.com/h5bp/html5-boilerplate/ blob/master/.htaccess # ---------------------------------------------------------------------- # Expires headers (for better cache control) # ---------------------------------------------------------------------- Up To You!
  • 24. Faster Quick Fix #2 - Combine Combine Your CSS Files Combine JS Files Tool - CodeKit Why? - Less Server Requests
  • 25. Faster Quick Fix #3 - Theme Choose the Right Theme Themes with lots of Graphics will take Longer to Load Double Check CSS and JS Keep Number of Requests in Mind
  • 26. Compare and Contrast
  • 27. Faster Quick Fix #4 - MaxCDN http://www.maxcdn.com
  • 28. Faster Quick Fix #5 - GZIP https://github.com/h5bp/html5-boilerplate/ # ---------------------------------------------------------------------- # Gzip compression # ---------------------------------------------------------------------- Or Use a Plugin GZIP Enable GZIP Output Gzippy
  • 29. Faster Not A Quick Fix! Hosting Shared Host Virtual Private Server Fully Dedicated Colocation (HostDime.com Specific)
  • 30. Final Note On Plugins Lets Not Get Crazy!
  • 31. Stronger! Go Away Spammers! Spammers are constantly injecting scripts Slowing Your Server Down Essential Plugins Akismet/JetPack Spam Free WordPress Other Option - Captcha
  • 32. Stronger Don’t Use ‘admin’ Don’t use ‘admin’ as your username WordPress 3.0+ lets you change it For older versions - Open phpMyAdmin and run this query:
  • 33. Stronger P: Login LockDown Only lets users try and log in a certain amount of times
  • 34. Stronger P: Secure WordPress • Removes error-information on login-page • Adds index.php plugin-directory (virtual) • Removes the wp-version, except in admin-area • Removes Really Simple Discovery • Removes Windows Live Writer • Removes core update information for non-admins • Removes plugin-update information for non-admins • Removes theme-update information for non-admins (only WP 2.8 and higher) • Hides wp-version in backend-dashboard for non-admins • Removes version on URLs from scripts and stylesheets only on frontend • Blocks any bad queries that could be harmful to your WordPress website
  • 35. Stronger Move wp-config.php WordPress automatically looks for wp- config.php if it cannot find it This way, no one except a user with FTP or SSH access to your server will be able to read the file
  • 36. Stronger Change Database Tables Prefixes Default table prefix is wp_... If left in tact, everyone knows the name Can edit by going into wp-config.php Plugin - WP Secure Scan
  • 37. Stronger Change Default Secret Keys In wp-config.php you have 4 secret keys define('AUTH_KEY', ''); define('SECURE_AUTH_KEY', ''); define('LOGGED_IN_KEY', ''); define('NONCE_KEY', ''); Makes logging in to your site even harder for those crazy hackers
  • 38. Stronger Protect wp-admin Plugin - AskApache Password Protect Block people from finding your content though server access ... use .htaccess wp-includes wp-content Plugins & Themes
  • 39. Stronger Passwords Letters Numbers Special Characters Caps
  • 40. Stronger Backups Plugins WP Database Backup WP Backup to DropBox Backup to Google Drive Premium - VaultPress
  • 41. Final Note On Security It Depends! .htaccess
  • 42. Take Away Less Stuff = Faster WordPress
  • 43. Thank You! [email protected] Tell me how I did! HostDime.com @david_j_parsons Will Post Slides on Twitter davidparsons.me Slides will be on BarCamp Site

Editor's Notes