WordPress 201

51
WordPress 201

description

Presentation given at WordCamp Phoenix 2012. Exported from notes available here: http://cosper.me/wp201/ Video of this presentation is available here: http://wordpress.tv/2012/06/05/jason-cosper-wp201/

Transcript of WordPress 201

Page 1: WordPress 201

WordPress 201

Page 2: WordPress 201

Howdy!My name is Jason Cosper .

Page 3: WordPress 201

I work for

Page 4: WordPress 201

Today, I'm going to teach you how to do some stuff.

Page 5: WordPress 201

Like improve your site's performance.

Page 6: WordPress 201

And make it more secure.

Page 7: WordPress 201

So let's get started...

Page 8: WordPress 201

Performance

Page 9: WordPress 201

How do we reduce load time?

Page 10: WordPress 201

Methods for Reducing Load TimeVisitor & server side cachingImage tweaks & optimizationJavaScript & CSS minification

Page 11: WordPress 201

We'll go ahead & begin with caching...

Page 12: WordPress 201

ALWAYS BE CACHING

Page 14: WordPress 201
Page 15: WordPress 201

WP Super Cache vs. W3 Total Cache

Page 16: WordPress 201

Browser CachingI've adapted a set of .htaccess rules from HTML5 Boilerplate forthis.

There's no need to reinvent the wheel, right?

Page 17: WordPress 201

Now, let's tighten up those images...

Page 18: WordPress 201

Fun with(out) Photoshop

Page 19: WordPress 201

Compress Your Images LocallyImageOptim Radical Image Optimization Tool Smush.it

Page 20: WordPress 201

Compress Images on Your SiteWP Smush.it

Page 21: WordPress 201

Load Images As They're NeededLazy Load

Page 22: WordPress 201

Finally, let's cut the fat on your CSS & JavaScript...

Page 23: WordPress 201

gzip it!

Page 25: WordPress 201

Okay, that covers performance.

Page 26: WordPress 201

Now, let's focus on security.

Page 27: WordPress 201

But first, we'll cleanse our palate with a video .

Page 28: WordPress 201

Security

Page 29: WordPress 201

How can we lock WordPress down?

Page 30: WordPress 201

Methods for Securing WordPressBlock attacks at the server levelProtect your admin areaStaying on top of updates

Page 31: WordPress 201

How about we start with blocking attacks at the server level?

Page 32: WordPress 201

The ol' bob & weave

Page 33: WordPress 201

Who's already using a plugin?

Page 34: WordPress 201

Here's why that's not such a great idea...

Page 36: WordPress 201

Okay. Now let's chat about insulating your admin area...

Page 37: WordPress 201

Protect ya neck, kid

Page 38: WordPress 201

So, we want to keep unauthorized people from getting into your admin area.

Page 39: WordPress 201

But we also want to not be annoying to the site's contributors, right?

Page 41: WordPress 201

Note: Enabling all of these at once can make logging in an ordeal.

Page 42: WordPress 201

Let's finish this out with a conversation about updates...

Page 43: WordPress 201

Updating: Not just for weekends anymore

Page 44: WordPress 201

According to WPsecure , there were 186 exploits for WordPress and its plugins in 2011.

Page 45: WordPress 201

"But it's such a pain to stay on top of plugin updates!"

Page 46: WordPress 201

You know what's an even bigger pain? Cleaning up a hacked site.

Page 47: WordPress 201

Getting an email reminder though? That's no pain at all.

Page 48: WordPress 201

Update RemindersWP Updates Notifier

Page 49: WordPress 201

And that covers security.

Page 50: WordPress 201

Questions?

Page 51: WordPress 201

That's it! Thanks for hanging out.