51
WordPress Optimisation 40 tips, in 40 minutes, and then some questions!

LAC 2011-WordPress Advanced

Embed Size (px)

DESCRIPTION

You know WordPress, you're probably using it for some of your sites. You've done all the basics as far as optimization, it's time to go deeper. Showing you the advanced controls of several WordPress plugins and the new possibilities offered by the recent WordPress releases, Joost is going to show you how you can use WordPress even more effectively to build and optimize your sites. For those of you who dare show your sites, Joost can even give advice for improvements right on the spot. So bring your laptops and make sure to take notes, as this session is going to be packed with tips and tricks.

Citation preview

Page 1: LAC 2011-WordPress Advanced

WordPress Optimisation

40 tips, in 40 minutes, and then some questions!

Page 2: LAC 2011-WordPress Advanced

Open SourceApple

CSS SEO

Geek

TheologyAffiliate

BloggerSpeaker

Marketer

Online marketer

WordPress

Page 3: LAC 2011-WordPress Advanced
Page 4: LAC 2011-WordPress Advanced
Page 5: LAC 2011-WordPress Advanced

Section #1: Speed!

Page 6: LAC 2011-WordPress Advanced

Tip Section #1: Speed

Install W3 Total CachePreferrably with APC / Memcached for database caching

01

Page 7: LAC 2011-WordPress Advanced

Tip Section #1: Speed02

Combine CSS files into one big CSS file and then minify

Same goes for JavaScript, most of which should be loaded in the footer.

(W3 Total Cache can help with that)

Page 8: LAC 2011-WordPress Advanced

Tip Section #1: Speed03

Kill some plugins...

And try to replace them for custom code or similar ones. Some plugins are god awful.

Page 9: LAC 2011-WordPress Advanced

Tip Section #1: Speed04

Offload as much as you canImages to a CDN

Javascript to a CDN or to Google:http://code.google.com/apis/ajaxlibs/

Page 10: LAC 2011-WordPress Advanced

Tip Section #1: Speed05

Use CSS sprites

have a look at spriteme.org

Page 11: LAC 2011-WordPress Advanced

Tip Section #1: Speed06

Clean up those sidebars.

Do you really need all those badges? Even more important: do your visitors need them?

Page 12: LAC 2011-WordPress Advanced

Tip Section #1: Speed

Still slow? Switch to better hosting.

http://yoast.com/articles/wordpress-hosting/

07

Page 13: LAC 2011-WordPress Advanced

Section #2: SEO

Page 14: LAC 2011-WordPress Advanced

Tip Section #2: SEO

Set Pretty Permalinks

And yes remove post id, date and other nonsense.

08

Page 15: LAC 2011-WordPress Advanced

Tip Section #2: SEO

Cloak your f*ing affiliate links.

09

Page 16: LAC 2011-WordPress Advanced

Tip Section #2: SEO

Give Robots directions

Noindex wp-admin, login and register pages etc.using the WordPress SEO plugin:http://yoast.com/wordpress/seo/

10

Page 17: LAC 2011-WordPress Advanced

Tip Section #2: SEO

Write better titles

Use WordPress SEO

11

Page 18: LAC 2011-WordPress Advanced

Tip Section #2: SEO

Write good meta descriptions

If you don’t, do NOT auto generate them. (Unless of course you’ve got an awesome description template)

12

Page 19: LAC 2011-WordPress Advanced

Tip Section #2: SEO

Create proper pagination

Using wp-pagenavi by Lester Chan, f/i.http://wordpress.org/extend/plugins/wp-pagenavi/

13

Page 20: LAC 2011-WordPress Advanced

Tip Section #2: SEO

Disable paged comments

They suck.

14

Page 22: LAC 2011-WordPress Advanced

Section #3: Maintenance

Page 23: LAC 2011-WordPress Advanced

Backup your database every few hours

Using f.i. Lester Chans WP-DBManager pluginor any of the other plugins out there

16 Tip Section #3: Maintenance

Page 24: LAC 2011-WordPress Advanced

Add this line to your wp-config:define('WP_ALLOW_REPAIR', true);

To auto repair your database when needed

17 Tip Section #3: Maintenance

Page 25: LAC 2011-WordPress Advanced

Backup your files every day

Use WordPress Backup:www.blogtrafficexchange.com/wordpress-backup

18 Tip Section #3: Maintenance

Page 26: LAC 2011-WordPress Advanced

Check your queries

Use the Debug Queries plugin to check for plugins gone mad

http://wordpress.org/extend/plugins/debug-queries/

19 Tip Section #3: Maintenance

Page 27: LAC 2011-WordPress Advanced

Run Akismet

Kill those spam comments.

20 Tip Section #3: Maintenance

Page 28: LAC 2011-WordPress Advanced

Check the referrers for comments

http://tools.davidnaylor.co.uk/

21 Tip Section #3: Maintenance

Page 29: LAC 2011-WordPress Advanced

Make sure your scraper scripts don’t get fed spam

22 Tip Section #3: Maintenance

Page 30: LAC 2011-WordPress Advanced

Track your uptime

Use Pingdom, or another tool,but be the first to know when your site is down.

23 Tip Section #3: Maintenance

Page 31: LAC 2011-WordPress Advanced

Check 404’s

Use the 404 notifier:wordpress.org/extend/plugins/404-notifier/

and fix them using Redirection

24 Tip Section #3: Maintenance

Page 32: LAC 2011-WordPress Advanced

Remove unneccesary meta info

// Remove Really simple discovery linkremove_action('wp_head', 'rsd_link');// Remove Windows Live Writer linkremove_action('wp_head', 'wlwmanifest_link');// Remove the version numberremove_action('wp_head', 'wp_generator');

25 Tip Section #3: Maintenance

(or you could just use my WordPress SEO plugin)

Page 33: LAC 2011-WordPress Advanced

Section #4: Social

Page 34: LAC 2011-WordPress Advanced

Allow & encourage people toshare

your content

26 Tip Section #4: Social

Use those Twitter Tweet & Facebook Like buttons

Page 35: LAC 2011-WordPress Advanced

Doing newsletters?

Add a refer a friend button on the thank you page!

27 Tip Section #4: Social

Page 36: LAC 2011-WordPress Advanced

Or... Use my Comment Redirect plugin, and add the refer a friend there!

28 Tip Section #4: Social

Page 37: LAC 2011-WordPress Advanced

Make sure your comments are gravatar enabled.

29 Tip Section #4: Social

Page 38: LAC 2011-WordPress Advanced

Buy me a beer later,Grolsch, or Heineken :)

and yes I know it’s only just noon or so, who cares?

30 Tip Section #4: Social

Page 39: LAC 2011-WordPress Advanced

Section #5: Analytics

Page 40: LAC 2011-WordPress Advanced

Use Google Analytics and my plugin for it

(or if you wear a tinfoil hat or you’re German, use Clicky & my plugin)

32 Tip Section #5: Analytics

Page 41: LAC 2011-WordPress Advanced

Use an RSS footer

(do I need to mention my WordPress SEO plugin again? ;) )

33 Tip Section #5: Analytics

Page 42: LAC 2011-WordPress Advanced

Use RSS link tagging

it’s in my Google Analytics plugin or userebelic.nl/rsslinktagger

(getclicky will understand GA Campaign tagging too)

33 Tip Section #5: Analytics

Page 43: LAC 2011-WordPress Advanced

Track traffic coming from Twitter:yoast.com/twitter-analytics/

34 Tip Section #5: Analytics

Page 44: LAC 2011-WordPress Advanced

Use hash tag based campaign tracking:#utm_campaign etc.

35 Tip Section #5: Analytics

Page 45: LAC 2011-WordPress Advanced

Use comment redirect to track first time commenters

36 Tip Section #5: Analytics

Page 46: LAC 2011-WordPress Advanced

Track comments as a goal!

37 Tip Section #5: Analytics

Use an onclick javascript with a minor delay.

Page 47: LAC 2011-WordPress Advanced

Track RSS subscribers the same way

38 Tip Section #5: Analytics

Page 48: LAC 2011-WordPress Advanced

Start optimizing:which traffic leads to more subscribers / proper click outs?

39 Tip Section #5: Analytics

And yes that means forgetting about Digg.

Page 49: LAC 2011-WordPress Advanced

Use my blog metrics plugin

40 Tip Section #5: Analytics

Improve yourself each month!

Page 50: LAC 2011-WordPress Advanced

Conference / Party in Amsterdam10 speakers15 attendees

http://seoroyale.com/

Speakers include:

Bob RainsMarcus TandlerFrank WatsonDennis Goedegebuure (Direct of SEO @ eBay)

Page 51: LAC 2011-WordPress Advanced

51

Feedback? Questions? Need help?

Email: [email protected]: @yoast