How to Find and Fix Common Technical SEO Issues

49
POLEMIC D I G I T A L @badams Find and Fix Common Technical SEO Issues Webpromo Expert Webinar 19 January 2016 Barry Adams

Transcript of How to Find and Fix Common Technical SEO Issues

Page 1: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Find and FixCommon Technical

SEO Issues

Webpromo Expert Webinar

19 January 2016

Barry Adams

Page 2: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Barry Adams

Page 3: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Agenda:

1. Server-side Technical SEO

2. On-site Technical SEO

3. Technical SEO for International Websites

4. Q & A

Page 4: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Server-side Technical SEO

Page 5: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Crawl Optimisation

• Minimising wasted crawl budget

Crawl Budget = the maximum amount of time a search engine spider will spend crawling your website before it gives up.

Page 6: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Crawl Sources

• Site Crawl

• XML Sitemaps

• Inbound Links

• DNS Records

• Domain Registrations

• Browsing Data

Page 7: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Crawl Waste

DeepCrawl report

Page 8: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Crawl Issue: URL Duplication

• http://website.com

• http://www.website.com

• http://www.website.com/index.php

• http://website.com/index.php

• http://www.website.com/category

• http://www.website.com/category/

• http://website.com/category

• http://website.com/category/

Page 9: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Solving URL duplication: WWW

• Apache .htaccess rules:

RewriteEngine on

RewriteCond %{HTTP_HOST} ^website\.com

RewriteRule (.*) http://www.website.com/$1 [R=301,L]

This redirects all requests to http://website.com to http://www.website.com

Page 10: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Trailing Slash Redirect

• Apache .htaccess rules:

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_URI} !(.*)/$

RewriteRule ^(.*)$ http://domain.com/$1/ [L,R=301]

This redirects all requests to /category to the version with the trailing slash: /category/

Page 11: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

HTTPS Redirect

• Apache .htaccess rules:

RewriteEngine on

RewriteCond %{SERVER_PORT} !^443$

RewriteCond %{HTTPS} off

RewriteRule ^(.*)$ https://www.website.com/$1 [R=301,L]

This redirects all standard HTTP requests to the HTTPS version of the website

Page 12: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

SSL Certificate Quality

https://www.ssllabs.com/ssltest/

Page 13: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Learn more about Apache .htaccess:

• http://www.htaccess-guide.com/

• http://www.htaccesstools.com/

Page 14: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

HTTP Status Codes

The most important ones:

200 OKeverything is fine, here is your content

404 Not Foundthe page you are trying to view doesn’t exist

301 Permanent Redirectthe page you are trying to view has moved permanently,here’s the new URL

302 Temporary Redirectthe page you are trying to view has moved temporarily,here is the new URL

500 Server Errorthere’s been a massive fuck up, I can’t serve you this page

Page 15: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

On-Site Technical SEO

Page 16: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

XML Sitemaps

Page 17: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Optimise your XML sitemap

• Ensure your sitemap contains final URLs only

• Minimise non-200 status codes

Page 18: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Use Multiple Sitemaps

• Google says max 50.000 URLs

Nick Eubanks case study shows 35.000 is optimal

Source: http://seoauv.com/increase-traffic/

Page 19: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Mismatched Canonicals

• All URLs in XML sitemap should be final canonical URLs only

Page 20: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Always use Canonicals

• Duplicate URLs can originate from various sources…

http://www.website.com/page1.html

http://www.website.com/page1.html?utm_source=buffer&

utm_medium=social&utm_campaign=seo

Page 21: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Use Full URLs in Canonicals

<link rel=“canonical” href=“/page1.html”>

<link rel=“canonical”

href=“www.website.com/page1.html”>

<link rel=“canonical”

href=“https://www.website.com/page1.html”>

Page 22: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Use Canonicals wisely…

• “rel=canonical” is primarily for index issues

It is not a fix for crawl waste

Search engines need to see the canonical tag before they can act on it

Ergo, pages need to be crawled before rel=canonical has any effect

Ditto with meta noindex tags

Page 23: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Internal Redirects

• Find redirects with Screaming Frog or DeepCrawl

• Internal links should all be 200 OK

• Flat site structure

Page 24: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Pagination

• Potential for massive crawl waste

Especially when combined with sorting

Page 25: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Optimise Paginated Lists

• Show more products per page

• Use pagination meta tags;<link rel="prev" href="http://www.domain.com/category/?page=2" />

<link rel="next" href="http://www.domain.com/category/?page=4" />

<link rel="canonical" href="http://www.domain.com/category/?page=all" />

Googlebot will deprioritise deeper paginated pages

• Block sorting parameters in robots.txt;User-agent: Googlebot

Disallow: /*?order=*

Noindex: /*?order=*

Page 26: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

GSC Robots.txt Tester

Page 27: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Alternative: X-Robots-Tag

• Special HTTP status code intended for crawlers

• Implemented in Apache .htaccess file:

<FilesMatch ".pdf$">

Header set X-Robots-Tag "noindex, nofollow"

</FilesMatch>

More info: https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag

Page 28: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Faceted Navigation

• Risk of crawl waste & index inflation

Page 29: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Dealing with Faceted Navigation

1. Block facet URL parameters in robots.txt

User-agent: Googlebot

Disallow: /*attribute=*

Noindex: /*attribute=*

2. Tag facet links with “rel=nofollow”

Page 30: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

JavaScript & Faceted Navigation

• ‘Hiding’ facets in JavaScript does not work

Google will execute JS and can follow embedded links

Don’t block JavaScript & CSS in robots.txt!

• JavaScript can add load time

Fast load speed is crucial

Page 31: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Optimise Load Speed

• Crawl budget = time

• Fast website = more pages crawled in same amount of time

Page 32: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

WebPageTest.org

• Time to First Byte

• Lightweight pages

• Caching

• Compression

Page 33: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Code Bloat

Page 34: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Structured Data

• Schema.org markup

Page 35: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

JSON-LD Markup

• In the <head> section

Separate from body code

Easier to implement

Page 36: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Google Tag Manager JSON-LD

• Use GTM data layer macros to inject JSON-LD schema.org code in your product pages

Source: http://www.swellpath.com/2015/03/7-steps-to-pushing-json-structured-data-using-google-tag-manager/

Page 37: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Structured Data Testing Tool

https://developers.google.com/structured-data/testing-tool/

Page 38: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Expired Pages

• Google’s advice: serve 404 Not Found

Downside: potential loss of link value

Source: https://www.youtube.com/watch?v=9tz7Eexwp_A

Page 39: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

My Advice

• Keep the page up

Page 40: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

High-churn Ecommerce

• Products with a limited lifespan, potentially thousands of new pages every week

Online auctions / ‘… for sale’ classified sites / etc

301-redirect old URL to most relevant new URL

Minimum 180 days

Serve 410 (or 404) on old URL after 180 days

Page 41: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Technical SEO forInternational Websites

Page 42: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

International Domains

• Pick the right domain; Generic TLDs: .com, .org, .net, .info, …

ccTLDs: .co.uk, .ie, .de, .fr, .it, .nl, …

• Generic domains can be geo-targeted with Google Search Console

• Country-code domains will be assumed to target that countryIt’s almost impossible to get a .it website to rank in

google.co.uk

Page 43: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Google Search Console

Page 44: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Website Structure

• Subdirectories:

website.com/gb

website.com/it

• Subdomains:

gb.website.com

it.website.com

Verify separately in Google Search Console and set the geo-target

Page 45: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Country & Language

www.website.com/be-fr/

www.website.com/be-nl/

www.website.com/be-de/

Use official ISO country & language codes where possible

Page 46: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

HTML Language Tag

• Use the ‘lang’ attribute:

• Don’t forget to change when you launch your international version!

Page 47: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

HREFLANG Meta Tags

<link rel="alternate" href="http://example.com/en-ie"

hreflang="en-ie" />

<link rel="alternate" href="http://example.com/en-ca"

hreflang="en-ca" />

<link rel="alternate" href="http://example.com/en-au"

hreflang="en-au" />

<link rel="alternate" href="http://example.com/en"

hreflang="en" />

<link rel="alternate" href="http://example.com/" hreflang="x-

default" />

More info: https://support.google.com/webmasters/answer/189077

Page 48: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Google Search Console

Page 49: How to Find and Fix Common Technical SEO Issues

POLEMIC

D I G I T A L@badams

Questions?

[email protected]

www.polemicdigital.com

@polemicdigital

@badams