how to fix and optimize all the things!

96
How to Fix and Optimize ALL THE THINGS! (on your site. I can’t help you with your life) Jon Henshaw Co-founder of Raven Tools @RavenJon

Upload: jon-henshaw

Post on 19-Feb-2017

863 views

Category:

Marketing


0 download

TRANSCRIPT

Page 1: How to Fix and Optimize ALL THE THINGS!

How to Fix and Optimize ALL THE THINGS!(on your site. I can’t help you with your life)

Jon Henshaw Co-founder of Raven Tools

@RavenJon

Page 2: How to Fix and Optimize ALL THE THINGS!

Been doing this stuff since 1994

Page 3: How to Fix and Optimize ALL THE THINGS!

I’m about to cover a lot of things

Page 4: How to Fix and Optimize ALL THE THINGS!

raven.link/copythis

Page 5: How to Fix and Optimize ALL THE THINGS!

WordPress plugin

Page 6: How to Fix and Optimize ALL THE THINGS!

☑ Let’s do this!

Page 7: How to Fix and Optimize ALL THE THINGS!

☑ Run an automated site audit

Page 8: How to Fix and Optimize ALL THE THINGS!

raven.link/audit

Page 9: How to Fix and Optimize ALL THE THINGS!

Address the critical things first

Page 10: How to Fix and Optimize ALL THE THINGS!

☑ Fix robots.txt & noindex

Page 11: How to Fix and Optimize ALL THE THINGS!

robots.txt & noindex at fault for most visibility problems

Page 12: How to Fix and Optimize ALL THE THINGS!

• Auto-generated robots.txt • Copied from dev version • CMS misconfiguration • CHF (Catastrophic Human Failure )

Reasons

Page 13: How to Fix and Optimize ALL THE THINGS!

Learn & Fix raven.link/robots

Page 14: How to Fix and Optimize ALL THE THINGS!

Robots.txt File Generator & Analyzer

Page 15: How to Fix and Optimize ALL THE THINGS!

Robots.txt compared to

• link rel=nofollow • META Robots Noindex/Nofollow

Page 16: How to Fix and Optimize ALL THE THINGS!

☑ Fix broken pages

Page 17: How to Fix and Optimize ALL THE THINGS!

Fix broken pages to improve UX and resolve configuration errors

Page 18: How to Fix and Optimize ALL THE THINGS!

404 Page Not Found is the most common page error

Page 19: How to Fix and Optimize ALL THE THINGS!

You don’t have to fix 404s

Page 20: How to Fix and Optimize ALL THE THINGS!

• Accidental page removal • External sites link to page • Relevant content still exists on site

When to Fix 404s

Page 21: How to Fix and Optimize ALL THE THINGS!

No Backup?

Restore content with Wayback Machine

raven.link/wm

Page 22: How to Fix and Optimize ALL THE THINGS!

Redirect to a relevant page

Page 23: How to Fix and Optimize ALL THE THINGS!

Redirection raven.link/redirection

Page 24: How to Fix and Optimize ALL THE THINGS!

Doing nothing is acceptable too

Page 25: How to Fix and Optimize ALL THE THINGS!

Preventative maintenance ☑ Sanitize affiliate links

(…since we’re already talking about redirects and robots.txt)

Page 26: How to Fix and Optimize ALL THE THINGS!

Internally link to a disallowed folder and redirect to the destination

Page 27: How to Fix and Optimize ALL THE THINGS!

Choose a folder name like domain.com/go

Page 28: How to Fix and Optimize ALL THE THINGS!

Disallow the folder in robots.txt

Page 29: How to Fix and Optimize ALL THE THINGS!

Create a 301 redirect for the affiliate link

Page 30: How to Fix and Optimize ALL THE THINGS!

domain.com/go/timecapsule

Page 31: How to Fix and Optimize ALL THE THINGS!

☑ Fix Missing Page Titles

Page 32: How to Fix and Optimize ALL THE THINGS!
Page 33: How to Fix and Optimize ALL THE THINGS!

• Don’t leave it up to Google • Use to reinforce topic and content • Still influences rankings and CTR • Sorry about the clown

The Little Page Title That Could

Page 34: How to Fix and Optimize ALL THE THINGS!

• Keep within 40-60 characters • Don’t keyword stuff • Make it relate to content • Focus on bots and humans

Page Title Best Practices

Page 35: How to Fix and Optimize ALL THE THINGS!

☑ Fix Internal Broken Links

Page 36: How to Fix and Optimize ALL THE THINGS!

Just say no to 🔗🤢

(link rot)

Page 37: How to Fix and Optimize ALL THE THINGS!

Passes 🔗🍹 to other pages

(link cocktail is the new link juice)

Page 38: How to Fix and Optimize ALL THE THINGS!

May indicate a ↪⤵↩ ☹

(I’m determined to use emoji on these slides. This represents a navigation or redirect problem)

Page 39: How to Fix and Optimize ALL THE THINGS!

Better Search Replace Pro raven.link/bsrp

Page 40: How to Fix and Optimize ALL THE THINGS!

☑ Fix Broken Images

Page 41: How to Fix and Optimize ALL THE THINGS!

Don’t let your site get janky

Page 42: How to Fix and Optimize ALL THE THINGS!

Don’t miss out on image search traffic

Page 43: How to Fix and Optimize ALL THE THINGS!

☑ Remove nofollow from internal links

Page 44: How to Fix and Optimize ALL THE THINGS!

What does it say to Google if you can’t even trust

yourself?

Page 45: How to Fix and Optimize ALL THE THINGS!

Most internal nofollow links are self-referencing comment links

(not a big deal)

Page 46: How to Fix and Optimize ALL THE THINGS!

Nofollow used in templates or placed manually should be removed

Page 47: How to Fix and Optimize ALL THE THINGS!

🏎 ☑ Speed up ALL THE THINGS!

Page 48: How to Fix and Optimize ALL THE THINGS!

Consolidate code to make less calls

Page 49: How to Fix and Optimize ALL THE THINGS!

Use inline CSS

Page 50: How to Fix and Optimize ALL THE THINGS!

Use inline JS (put at end of page)

Page 51: How to Fix and Optimize ALL THE THINGS!

Cache and Compress

Page 52: How to Fix and Optimize ALL THE THINGS!

WP Rocket raven.link/rocket

Page 53: How to Fix and Optimize ALL THE THINGS!

Gzip via .htaccess

Page 54: How to Fix and Optimize ALL THE THINGS!

Gzip via PHP

Page 55: How to Fix and Optimize ALL THE THINGS!

Test Gzip raven.link/gtest

Page 56: How to Fix and Optimize ALL THE THINGS!

Gzip Resource raven.link/gzip

Page 57: How to Fix and Optimize ALL THE THINGS!

CDN and HTTP/2

Page 58: How to Fix and Optimize ALL THE THINGS!

HTTP/1 versus

HTTP/2

Page 59: How to Fix and Optimize ALL THE THINGS!

HTTP/2, CDN, Security, SSL raven.link/cf

Page 60: How to Fix and Optimize ALL THE THINGS!

☑ Optimize images for mobile

Page 61: How to Fix and Optimize ALL THE THINGS!

Responsive images are not optimized images

Page 62: How to Fix and Optimize ALL THE THINGS!

Optimization is serving a different image

Page 63: How to Fix and Optimize ALL THE THINGS!

Do it with the SRCSET IMG attribute

Page 64: How to Fix and Optimize ALL THE THINGS!

SRCSET can deliver smaller and different images to improve speed and UX

Page 65: How to Fix and Optimize ALL THE THINGS!

Smaller versions for mobile

1024px800px

550px360px

Page 66: How to Fix and Optimize ALL THE THINGS!

Different versions for mobile

Page 67: How to Fix and Optimize ALL THE THINGS!

Versions optimized for UX

Mobile Desktop

Page 68: How to Fix and Optimize ALL THE THINGS!

Regular IMG code

<img src=“cat.png” alt="my cat">

Page 69: How to Fix and Optimize ALL THE THINGS!

SRCSET is an IMG attribute

<img src="cat.png"alt="my cat" srcset="cat-hd.png 2x, cat-med.png 640w, cat-med-hd.png 640w 2x" />

Page 70: How to Fix and Optimize ALL THE THINGS!

Specify device width

<img src="cat.png"alt="my cat" srcset="cat-hd.png 2x, cat-med.png 640w, cat-med-hd.png 640w 2x" />

Page 71: How to Fix and Optimize ALL THE THINGS!

Specify High DPI

<img src="cat.png"alt="my cat" srcset="cat-hd.png 2x, cat-med.png 640w, cat-med-hd.png 640w 2x" />

Page 72: How to Fix and Optimize ALL THE THINGS!

SRCSET Responsive Images raven.link/srcsetwp

Page 73: How to Fix and Optimize ALL THE THINGS!

Reduce and compress image size

Page 74: How to Fix and Optimize ALL THE THINGS!

Use SVG for simple images

and icons

Page 75: How to Fix and Optimize ALL THE THINGS!

Compress with ImageOptim raven.link/imageoptim

Page 76: How to Fix and Optimize ALL THE THINGS!

Compress with FileOptim raven.link/fileoptim

Page 77: How to Fix and Optimize ALL THE THINGS!

EWWW Image Optimizer raven.link/imgoptwp

Page 78: How to Fix and Optimize ALL THE THINGS!

☑ Optimize HTML for bots

Page 79: How to Fix and Optimize ALL THE THINGS!

Code is how you communicate to bots

Page 80: How to Fix and Optimize ALL THE THINGS!

Use semantic HTML to communicate context and intent

Page 81: How to Fix and Optimize ALL THE THINGS!

<header>

<nav>

<article> <aside>

<footer>

Page 82: How to Fix and Optimize ALL THE THINGS!

Navigation

Advertising

Page 83: How to Fix and Optimize ALL THE THINGS!

List of HTML Semantic Elements raven.link/semantic

Page 84: How to Fix and Optimize ALL THE THINGS!

Enhance SERPs with schema.org microdata

Page 85: How to Fix and Optimize ALL THE THINGS!

http://schema.org/Recipe

Page 86: How to Fix and Optimize ALL THE THINGS!

Old Way – Integrate in HTML

Page 87: How to Fix and Optimize ALL THE THINGS!

New Way – JSON-LD

Page 88: How to Fix and Optimize ALL THE THINGS!

Schema App

Page 89: How to Fix and Optimize ALL THE THINGS!

Schema App raven.link/schemaapp

Page 90: How to Fix and Optimize ALL THE THINGS!

Schema App raven.link/sawp

Page 91: How to Fix and Optimize ALL THE THINGS!

Optimize form inputs for mobile/UX

Page 92: How to Fix and Optimize ALL THE THINGS!

type=“number”

Page 93: How to Fix and Optimize ALL THE THINGS!

type=“date”

Page 94: How to Fix and Optimize ALL THE THINGS!

type=“tel”

Page 95: How to Fix and Optimize ALL THE THINGS!

All Standard Input Types raven.link/inputtype

Page 96: How to Fix and Optimize ALL THE THINGS!

Thank you!

Site Auditor raven.link/audit