Best Practices on Optimizing, Securing, Scaling WordPress


Published on

1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Best Practices on Optimizing, Securing, Scaling WordPress

  1. 1. Best Practices on Optimizing, Securing and Scaling WordPress<br />By: Simon Lim<br />WordPress Consultant<br />Twitter: @simonlim88<br />Email:<br />
  2. 2. Content<br />WordPress Optimization – hacks and how to<br />WordPress Security – best practices, tricks<br />Scaling WordPress – tips<br />
  3. 3. WordPress Optimization:How to make WordPress perform faster? <br />
  4. 4. Why is it important? <br />Speed - Improve user experience / interaction<br />Marketing - Improve search engine optimization<br />Revenue - Increase income<br />
  5. 5. Basic Web Optimization Tips<br />Static (CSS/JSS) Files – Top: CSS, Bottom: JS<br />Minify – CSS / JS <br />Reduce number of HTTP request – combine<br />Image Optimization – remove bytes<br />Reduce/remove rich media – i.e Flash<br />Offload static files to Content Deliver Network<br />Choosing the right web hosting provider<br />
  6. 6. WordPress Hacks - Optimization<br />Update WordPress to its latest version <br />Remove unused/inactive third party plugins/themes<br />Optimize DB occasionally (via plugin/phpMyAdmin) <br />Caching WordPress <br />Choosing right WordPress theme / framework<br />Disable WordPress post revision<br />Load jQuery from big boys<br />
  7. 7. WordPress Security:Is WordPress Secure? <br />
  8. 8. What if my WordPress site got hacked<br />Check with web host <br />Restore WordPress to latest copy (personal / web host backup)<br />Lock down WordPress – refer to best practices<br />Important Note: Backup, backup, backup (Schedule) <br />
  9. 9. Lock Down WordPress - Best Practices<br />Check file and folder permission <br />Change default WordPress prefix – “wp_”<br />Disabled “admin” account or set “admin” to subscriber <br />Disabled third party WordPress plugin <br />Upgrade WordPress to latest version <br />Don’t install many/multiple security plugin <br />
  10. 10. Scaling WordPress:Is WordPress scalable? <br />
  11. 11. How?<br />Don’t put everything in one basket<br />
  12. 12. General Tips<br />Choosing the right Web Hosting Provider/Platform<br />DNS – Host externally (Anycast DNS)<br />Server – LAMP stack optimization<br />Media/Static Files – content delivery network (CDN)<br />
  13. 13. Web Hosting Provider<br />Conventional : Adding more physical server as u grow <br />Cloud based hosting: Scale up/down resources based on supply and demand <br />
  14. 14. DNS Hosting<br />Host DNS Externaly <br />Anycast DNS – recommended <br />Reason: load balance, redundancy and high availability <br />Lower TTLs is needed for HA setup <br />
  15. 15. LAMP Stack Optimization<br />OS – Linux (Free and fast)<br />Web Server – optimize apache.conf<br />Database – optimize mysql.conf<br />PHP – compilation <br />Caching – APC / Memcache<br />Exploring and tried out on several methods is best way for optimization.<br />
  16. 16. Content Delivery Network (CDN)<br />Free CDN – limited resources, no SLA<br />Commercial CDN – can be costly depends traffic of origins, bandwidth usage and content served <br />Custom CDN – build from zero, complex setup but managed cost<br />
  17. 17. Advice<br />Be open and generous in exploring options<br />Be gratitude to your system admins<br />Willing to spend money on server infrastructure<br />
  18. 18. Questions & Answers<br />
  19. 19. Thank You!<br />By: Simon Lim<br />WordPress Consultant<br />Twitter: @simonlim88<br />Email:<br />