36
WordPress in the Wild Deployment, Performance, Optimization, and Security Markku Seguerra / rebelpixel.com

WordCamp Philippines 2009: WordPress In The Wild

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: WordCamp Philippines 2009: WordPress In The Wild

WordPress in the WildDeployment, Performance, Optimization, and Security

Markku Seguerra / rebelpixel.com

Page 2: WordCamp Philippines 2009: WordPress In The Wild

It’s a wild world out there!

Page 3: WordCamp Philippines 2009: WordPress In The Wild

A guide to using WordPress in production environments, from small blogs to full-blown sites. Simplify deployment, optimize performance, and increase security with the most effective plugins and tweaks that help you get the most from your WordPress-powered blog.

Page 4: WordCamp Philippines 2009: WordPress In The Wild

4 Questions???

Page 5: WordCamp Philippines 2009: WordPress In The Wild

Question #1What is the most effective

way of deploying WordPress?

Page 6: WordCamp Philippines 2009: WordPress In The Wild

Question #2How do you maximize

performance of a WordPress blog?

Page 7: WordCamp Philippines 2009: WordPress In The Wild

Question #3How do you optimize your blog for search and your

target readers?

Page 8: WordCamp Philippines 2009: WordPress In The Wild

Question #4How do you protect your blog from malicious users and catastrophic failure?

Page 9: WordCamp Philippines 2009: WordPress In The Wild

#1 Deployment* Simple* Fast* Secure

Page 10: WordCamp Philippines 2009: WordPress In The Wild

Simple & Fast* Download/wget from wordpress.org

* Copying from existing install is troublesome

* Use local installer with important themes and plugins from official sources

Page 11: WordCamp Philippines 2009: WordPress In The Wild

Secure* Use only wordpress.org* For themes & plugins, inspect code if from other sources* Use SSH/SFTP for secure transfer if available; FTP is a last option

Page 12: WordCamp Philippines 2009: WordPress In The Wild

#2 PerformanceWhat limits performance?* WordPress is dynamic* WordPress is for everyone* WordPress is too popular

Page 13: WordCamp Philippines 2009: WordPress In The Wild

WordPress is dynamic* Every page view uses the database (and the CPU)* Use caching; WP Super Cache works best!

Page 14: WordCamp Philippines 2009: WordPress In The Wild
Page 15: WordCamp Philippines 2009: WordPress In The Wild

WordPress is for everyone

* Some features are built for the other half of its users* Stick to what you need and what works for you!

Page 16: WordCamp Philippines 2009: WordPress In The Wild

WordPress is too popular

* Almost automatically invites spam comments* Akismet takes care of the spam problem 99% of the time

Page 17: WordCamp Philippines 2009: WordPress In The Wild

More performance tricks

* Offload content (Amazon S3, Flickr, YouTube, etc.)* Use only necessary plugins* Use 3rd-party comments (Disqus, Intense Debate, etc.)

Page 18: WordCamp Philippines 2009: WordPress In The Wild

Beyond WordPress* Optimize MySQL (MyISAM only, query_cache tuning, etc.)* Optimize PHP (limit extensions, memory allocation, use memcache, etc.)* Replace Apache!

Page 19: WordCamp Philippines 2009: WordPress In The Wild

#3 Optimization“WordPress takes care of 80-90% of (the mechanics of)SEO.”

- Matt Cutts, Google

Page 20: WordCamp Philippines 2009: WordPress In The Wild

Highlight your Content!

Pretty permalinks

Page 21: WordCamp Philippines 2009: WordPress In The Wild

Highlight your Content!

All in One SEO Pack

Page 22: WordCamp Philippines 2009: WordPress In The Wild

Highlight your Content!

* Analytics360 + Google Analyticator* WordPress.com Stats* Google XML Sitemaps* FD Feedburner / Feedburner Feedsmith* Broken Link Checker

Page 23: WordCamp Philippines 2009: WordPress In The Wild

Content is King!

SEO can only do so much; it can only be as good as what’s on your blog.

Page 24: WordCamp Philippines 2009: WordPress In The Wild

#4 Security* Content theft* WordPress vulnerabilities* Server security* Database failure* Server/hosting failure

Page 25: WordCamp Philippines 2009: WordPress In The Wild

Content theft

RSS Footer* Blog about it!* Resume creating good content.* Report to search engines.* Report to host/ISP.

Page 26: WordCamp Philippines 2009: WordPress In The Wild

WordPress vulnerabilities

* More users invites more discoveries of flawed code* Widespread use attracts more mischief* Extensibility opens a back door

Page 27: WordCamp Philippines 2009: WordPress In The Wild

WordPress UpgradesWordPress is safe

only when up to date!

Page 28: WordCamp Philippines 2009: WordPress In The Wild

More WordPress security

* Remove “admin” username* Change table prefix (wp_)* Hide WP version* Secure /wp-admin/ with server passwords

Page 29: WordCamp Philippines 2009: WordPress In The Wild

More WordPress security

Page 30: WordCamp Philippines 2009: WordPress In The Wild

Server security* Timely upgrades saves you from pain!* Use proper file & directory permissions* Audit all installed apps

Page 31: WordCamp Philippines 2009: WordPress In The Wild

Security plugins

WP Security Scan

Page 32: WordCamp Philippines 2009: WordPress In The Wild

Security plugins

WP Exploit Scanner

Page 33: WordCamp Philippines 2009: WordPress In The Wild

Database failure

WordPress Database Backup

(or use PhpMyAdmin)

Page 34: WordCamp Philippines 2009: WordPress In The Wild

Database backups* Use onsite backups* Use offsite, online storage (Gmail is good)

Page 35: WordCamp Philippines 2009: WordPress In The Wild

Server/hosting failure* The end?* Regularly download full backups to local PC* Burn full backups to DVD!* Be prepared to restore from scratch!

Page 36: WordCamp Philippines 2009: WordPress In The Wild

Thank you!