SlideShare a Scribd company logo
1 of 71
Download to read offline
Drupal SEO Pitfalls
and
How To Avoid Them
- by Brent Gees and Wouter De Bruycker
1
ABOUT US
PUBLIC ENTITIES 2
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 3
ABOUT US
Brent Gees
● Drupal Architect and Drupal Trainer at
Dropsolid
● Speaker at Drupal Dev Days Lisbon 2018
● Speaker at Drupalcamp Ghent 2018
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 4
ABOUT US
Wouter De Bruycker
● SEO Strategist & Evangelist at Dropsolid
● Speaker at Digital Content Marketing
Congress: "Technical SEO 101 (& 102)"
● Closing Keynote Speaker at DMB Day
“Today is Yesterday's Future: SEO in
Evolution"
2PUBLIC ENTITIES
ALL PAGES SHOULD BE AN ENTITY
ABOUT US
3
1
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 6
PUBLIC ENTITIES
By default, entities might be publicly available on their own unique
URL.
Example: a “team member” module could generate a public node for
each team member, while they are really only used for a “team overview
page” and the site doesn’t need detail pages for each team member.
https://mysite.com/node/42, https://mysite.com/taxonomy/term/42, ...
The case
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 7
PUBLIC ENTITIES
This results in low value and “thin content” pages, indexable by Google.
You don’t want these pages on your site because they are a waste of
resources (bandwidth, crawl budget, database storage, …).
The problem
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 8
PUBLIC ENTITIES
Prevent those entities from being accessed by visitors
This can be done by modules such as rabbit_hole
The solution
3ALL PAGES SHOULD BE AN ENTITY
INDEXED INTERNAL SEARCH
PUBLIC ENTITIES
4
2
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 10
ALL PAGES SHOULD BE AN ENTITY
Oftentimes, some pages on websites are generated based on other
content. These pages are not an “editable node” in the backend.
Examples: homepage, overview pages, ...
The case
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 11
ALL PAGES SHOULD BE AN ENTITY
When a page isn’t editable as a node, there’s no easy way to edit the
meta tags, or to configure the XML sitemap inclusion for this page, or ...
The problem
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 12
ALL PAGES SHOULD BE AN ENTITY
• Use the core drupal layout builder to construct the homepage
The solution
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 13
ALL PAGES SHOULD BE AN ENTITY
• Use paragraphs together with modules such as block_field or
overview_field to add blocks to the page.
The solution
4INDEXABLE INTERNAL SEARCH
INDEXED TEST ENVIRONMENTS AND PAGES
ALL PAGES SHOULD BE AN ENTITY
5
3
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 15
INDEXABLE INTERNAL SEARCH
By default, internal search result pages are often indexable by search
engines.
The case
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 16
INDEXABLE INTERNAL SEARCH
This results in low value and “thin content” pages, indexable by Google.
You don’t want low-value pages in the index.
Google also implicitly mentions in its quality guidelines to not let
Googlebot index internal search results.
The problem
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 17
INDEXABLE INTERNAL SEARCH
When using views for your search pages
install metatag and metatag_views module
The solution
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 18
INDEXABLE INTERNAL SEARCH
When using a node for your search pages
Install metatag and add the field to your content type
The solution
5INDEXED TEST ENVIRONMENTS
AND PAGES
ASSETS BLOCKED BY ROBOTS.TXT
INDEXABLE INTERNAL SEARCH
6
4
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 20
INDEXED TEST ENVIRONMENTS AND PAGES
Development and staging environments are often crawlable and
indexable by search engines because of configuration issues.
Or because of laziness ¯_(ツ)_/¯
Temp content is also something that often shows up in search results.
The case
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 21
INDEXED TEST ENVIRONMENTS AND PAGES
Everybody probably agrees we don’t want our staging environments or
paragraph testing pages to be in the Google index, or even be publicly
available, for a wide range of reasons.
The problem
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 22
INDEXED TEST ENVIRONMENTS AND PAGES The problem
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 23
INDEXED TEST ENVIRONMENTS AND PAGES
Test pages on live environments
Unpublish if possible or prevent from indexing with metatag module
The solution
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 24
INDEXED TEST ENVIRONMENTS AND PAGES
Test environments
Use htpassword protection for your environments
The solution
6ASSETS BLOCKED BY ROBOTS.TXT
MODULE OVERLOAD
INDEXED TEST ENVIRONMENTS AND PAGES
7
5
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 26
ASSETS BLOCKED BY ROBOTS.TXT
Sometimes website assets (like favicons or images) are located inside a
folder that’s blocked for crawlers via the robots.txt.
The case
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 27
ASSETS BLOCKED BY ROBOTS.TXT
We want Google to understand our
entire page and “see” it as a regular
website visitor would see it.
If some assets are blocked via
robots.txt, Google can’t view the
page as if it was a regular website
visitor.
The problem
Image: notification in Google Search
Console due to blocked site assets.
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 28
ASSETS BLOCKED BY ROBOTS.TXT
Make sure your website assets (images, icons, favicon, …) are in a
publicly available folder, not blocked by robots.txt.
Keep an eye on your Google Search Console property for notifications
regarding blocked resources.
The solution
7MODULE OVERLOAD
REDIRECT-REDIRECT-REDIRECT
ASSETS BLOCKED BY ROBOTS.TXT
8
6
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 30
MODULE OVERLOAD
There are a lot of modules available
for a wide range of use cases,
which is mostly a good thing.
The case
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 31
MODULE OVERLOAD
Be careful not to overload your website with bulky or unnecessary
modules.
Each one could require multiple resources to be downloaded and
executed by the browser, which will have an impact on your website
speed.
The problem
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 32
MODULE OVERLOAD
“We encourage you to start looking at your site's speed “...” — not only to
improve your ranking in search engines, but also to improve everyone's
experience on the Internet.”
Source: Google Webmaster Central Blog - “Using site speed in web search ranking”
https://webmasters.googleblog.com/2010/04/using-site-speed-in-web-search-ranking.html
The problem
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 33
MODULE OVERLOAD
Think twice before installing a module. Do you really need it or is there an
easier solution?
Check if there are unused modules on your site with something like
unused_modules.
The solution
8REDIRECT-REDIRECT-REDIRECT
SECURITY LEAKS IMPACTING SEO
MODULE OVERLOAD
9
7
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 35
REDIRECT-REDIRECT-REDIRECT
Not paying close attention to redirect setups could result in multiple
redirects following each-other.
The case
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 36
REDIRECT-REDIRECT-REDIRECT
Redirect chains are not search-engine-friendly.
When Googlebot visits a page which returns a redirect statuscode, it adds
that page to the bottom of its “to visit” list for that website.
For small websites this is not a big problem, but for big websites this
could result in slow indexation times.
The problem
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 37
REDIRECT-REDIRECT-REDIRECT
You want as little redirects as possible.
The problem
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 38
REDIRECT-REDIRECT-REDIRECT
Don’t just uncomment the lines in htpasswd
The solution
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 39
REDIRECT-REDIRECT-REDIRECT
But think along with your site
The solution
9SECURITY LEAKS IMPACTING SEO
ROBOTS.TXT DISALLOW != NOINDEX
REDIRECT-REDIRECT-REDIRECT
10
8
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 41
SECURITY LEAKS IMPACTING SEO
Allowing public file-uploads could result in lower organic traffic when not
setup correctly.
The case
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 42
SECURITY LEAKS IMPACTING SEO
If files can be uploaded without some form of authentication or
CAPTCHA, this could result in thousands of files being uploaded by
spammers, and indexed by Google.
The problem
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 43
SECURITY LEAKS IMPACTING SEO The problem
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 44
SECURITY LEAKS IMPACTING SEO
When Google notices spam on your
website, they could punish you with
a “manual action”, potentially
lowering your organic search
visibility.
The problem
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 45
SECURITY LEAKS IMPACTING SEO
“Google issues a manual action against a site when a human reviewer at
Google has determined that pages on the site are not compliant with
Google's webmaster quality guidelines”
“If a site has a manual action, some or all of that site will not be shown
in Google search results.”
Source: https://support.google.com/webmasters/answer/9044175?hl=en
The problem
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 46
SECURITY LEAKS IMPACTING SEO
Use a module to implement reCAPTCHA, recaptcha or simple_recaptcha
The solution
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 47
SECURITY LEAKS IMPACTING SEO
Know when to use private files and place them outside of Drupal’s web
root.
The solution
10ROBOTS.TXT DISALLOW != NOINDEX
GOOGLE ANALYTICS HORROR
SECURITY LEAKS IMPACTING SEO
11
9
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 49
ROBOTS.TXT DISALLOW != NOINDEX
Contrary to popular belief, blocking a page (or folder) via robots.txt or
adding a noindex directive to the meta robots tag are not the same thing.
Robots.txt instructions impact crawling, not indexing.
Noindex directives using a meta tag impact indexing, not crawling.
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 50
ROBOTS.TXT DISALLOW != NOINDEX
It sounds weird, but Google is able to stumble upon a link on an external
website linking to a page blocked by robots.txt, and still index it.
The result will most likely be a snippet in the search results without a title
or description, since Google can’t read the title or meta-description.
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 51
ROBOTS.TXT DISALLOW != NOINDEX
“Now wait a second Wouter. I understand it could happen in theory a link
is indexed even though it’s blocked by robots.txt, but do things like this
really happen in practice?”
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 52
ROBOTS.TXT DISALLOW != NOINDEX
Why yes, yes they do:
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 53
ROBOTS.TXT DISALLOW != NOINDEX
A weird “/home//home” page is indexed on drupal.org.
Let’s take a look at the robots.txt: https://www.drupal.org/robots.txt …
Bingo:
They noticed “strange homepage URLs” and tried removing
this page from the Google index by blocking Google from
crawling the page.
11GOOGLE ANALYTICS HORROR
RAPID-FIRE BEST PRACTICES
ROBOTS.TXT DISALLOW != NOINDEX
12
10
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 55
GOOGLE ANALYTICS HORROR
Correct data is very important when analysing SEO-efforts
Pay close attention to sudden drops and spikes in Google Analytics data.
There might be a configuration issue.
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 56
GOOGLE ANALYTICS HORROR The case
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 57
GOOGLE ANALYTICS HORROR
https://www.drupal.org/project/eu_cookie_compliance updated
Each pageview started a new session as long as website visitors didn’t
accept the cookies
The problem
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 58
GOOGLE ANALYTICS HORROR
Two-step fix:
The solution
1. Anonymize the visitor
IP-addresses (GA or GTM setup)
2. Whitelist the Google Analytics
cookies (Drupal module setup)
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 59
GOOGLE ANALYTICS HORROR The solution
Update/patch the google analytics module to comply with the
eu_cookie_compliance so that the snippet isn't loaded until approval was
given.
More information:
https://www.drupal.org/project/google_analytics/issues/3060312
12RAPID-FIRE BEST PRACTICES
GOOGLE ANALYTICS HORROR 11
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 61
RAPID-FIRE BEST PRACTICES
Use the Google Analytics module (google_analytics) or the Google Tag
Manager module (google_tag).
Not both.
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 62
RAPID-FIRE BEST PRACTICES
Aggregate and minify css and js files where possible.
https://www.drupal.org/project/advagg
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 63
RAPID-FIRE BEST PRACTICES
Make sure each page has a correct/well-configured canonical tag.
Not enough time to go into detail because of the complexity (what about paging parameters?
facet filtering parameters? combinations with hreflang? ...)
come find us after the talk or search the interwebs for resources :)
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 64
RAPID-FIRE BEST PRACTICES
Use Pathauto module to generate nice urls for your pages
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 65
RAPID-FIRE BEST PRACTICES
Follow-up on the amount of pages indexed by Google via Google Search
Console.
Seems too high?
Maybe some rabbithole setup is
needed to remove separate pages
from the index.
Seems too low?
Maybe important pages are
no-indexed?
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 66
RAPID-FIRE BEST PRACTICES
Make sure your base url is not ‘http://default/’ in your sitemap XML,
we’ve seen this issue occur a lot in live sites.
Setup your cron job correctly, more info:
https://www.drupal.org/project/xmlsitemap/issues/1944518
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 67
RAPID-FIRE BEST PRACTICES
Create checklists!
• Things that have to be done before going live
• Things to check when site is live
• Things to check when site is live for x days
Image: WARNER BROS. ENTERTAINMENT INC.
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 69
QUESTIONS
Time left?
Fire away!
No more time?
Come find us at the Dropsolid
booth (#13)
Get in touch:
https://www.linkedin.com/in/brentgees/
https://www.linkedin.com/in/wouterdebruycker/
+ Keep an eye on the Dropsolid Twitter feed for these slides!
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019
TODO
ABOUT US
70
Join us for contribution opportunities
Thursday, October 31, 2019
Mentored
Contribution
9:00-18:00
Room: Europe Foyer 2
First Time
Contributor Workshop
9:00-14:00
Room: Diamond
Lounge
General
Contribution
9:00-18:00
Room: Europe Foyer 2
#DrupalContributions
Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019
TODO
ABOUT US
71
What did you think?
Locate this session at the DrupalCon Seattle website:
https://drupal.kuoni-congress.info/2019/program/
Take the Survey!
https://www.surveymonkey.com/r/DrupalConAmsterdam
Thank You!

More Related Content

Similar to Drupal SEO Pitfalls and How To Avoid Them

Why Enterprises Choose Drupal for Futuristic Web App Development?
Why Enterprises Choose Drupal for Futuristic Web App Development?Why Enterprises Choose Drupal for Futuristic Web App Development?
Why Enterprises Choose Drupal for Futuristic Web App Development?Helios Solutions
 
Search Engine Optimisation (SEO) for Drupal
Search Engine Optimisation (SEO) for DrupalSearch Engine Optimisation (SEO) for Drupal
Search Engine Optimisation (SEO) for DrupalAustralian Radio Network
 
From Drupal 7 to Drupal 8 - Drupal Intensive Course Overview
From Drupal 7 to Drupal 8 - Drupal Intensive Course OverviewFrom Drupal 7 to Drupal 8 - Drupal Intensive Course Overview
From Drupal 7 to Drupal 8 - Drupal Intensive Course OverviewItalo Mairo
 
10 Tips for E-commerce on Drupal
10 Tips for E-commerce on Drupal10 Tips for E-commerce on Drupal
10 Tips for E-commerce on DrupalRyan Szrama
 
Flash SEO Secrets
Flash SEO SecretsFlash SEO Secrets
Flash SEO Secretsrtretola
 
Drupal As A Jigsaw
Drupal As A JigsawDrupal As A Jigsaw
Drupal As A Jigsawnyccamp
 
Security panel-western-mass-drupal-camp
Security panel-western-mass-drupal-campSecurity panel-western-mass-drupal-camp
Security panel-western-mass-drupal-campcwworks
 
Structured Data & Schema.org - SMX Milan 2014
Structured Data & Schema.org - SMX Milan 2014Structured Data & Schema.org - SMX Milan 2014
Structured Data & Schema.org - SMX Milan 2014Bastian Grimm
 
Technical SEO for WordPress - 2019 edition
Technical SEO for WordPress - 2019 editionTechnical SEO for WordPress - 2019 edition
Technical SEO for WordPress - 2019 editionOtto Kekäläinen
 
Drupal training-by-ruchiwebsolutions
Drupal training-by-ruchiwebsolutionsDrupal training-by-ruchiwebsolutions
Drupal training-by-ruchiwebsolutionsphp2ranjan
 
The Secret Sauce Behind A High-Performance Drupal Site
The Secret Sauce Behind A High-Performance Drupal SiteThe Secret Sauce Behind A High-Performance Drupal Site
The Secret Sauce Behind A High-Performance Drupal SiteThecommerceshop1
 
10 Things Webdesigners tend to do Wrong in SEO - SMX 2014
10 Things Webdesigners tend to do Wrong in SEO  - SMX 201410 Things Webdesigners tend to do Wrong in SEO  - SMX 2014
10 Things Webdesigners tend to do Wrong in SEO - SMX 2014Timon Hartung
 
A Sneak Peek Into Drupal - A Beginner’s Guide.pdf
A Sneak Peek Into Drupal - A Beginner’s Guide.pdfA Sneak Peek Into Drupal - A Beginner’s Guide.pdf
A Sneak Peek Into Drupal - A Beginner’s Guide.pdfMars Devs
 
Myths & true stories about JavaScript for SEO
Myths & true stories about JavaScript for SEOMyths & true stories about JavaScript for SEO
Myths & true stories about JavaScript for SEOSara Moccand-Sayegh
 
The Myth Surrounding Drupal Migration For 2022
The Myth Surrounding Drupal Migration For 2022The Myth Surrounding Drupal Migration For 2022
The Myth Surrounding Drupal Migration For 2022Thecommerceshop1
 
How to Scale SEO Work NOBODY Wants to Do (Including Your Competitors) to Rapi...
How to Scale SEO Work NOBODY Wants to Do (Including Your Competitors) to Rapi...How to Scale SEO Work NOBODY Wants to Do (Including Your Competitors) to Rapi...
How to Scale SEO Work NOBODY Wants to Do (Including Your Competitors) to Rapi...RochelledeLeon5
 
How to scale SEO work NOBODY wants to do (including your competitors) to rapi...
How to scale SEO work NOBODY wants to do (including your competitors) to rapi...How to scale SEO work NOBODY wants to do (including your competitors) to rapi...
How to scale SEO work NOBODY wants to do (including your competitors) to rapi...Hamlet Batista
 
Drupal 8 Upcoming Features
Drupal 8 Upcoming FeaturesDrupal 8 Upcoming Features
Drupal 8 Upcoming FeaturesMagic Logix
 
Hire Drupal Developers For Your Website
Hire Drupal Developers For Your WebsiteHire Drupal Developers For Your Website
Hire Drupal Developers For Your Websiteajohnson85
 

Similar to Drupal SEO Pitfalls and How To Avoid Them (20)

Swf search final
Swf search finalSwf search final
Swf search final
 
Why Enterprises Choose Drupal for Futuristic Web App Development?
Why Enterprises Choose Drupal for Futuristic Web App Development?Why Enterprises Choose Drupal for Futuristic Web App Development?
Why Enterprises Choose Drupal for Futuristic Web App Development?
 
Search Engine Optimisation (SEO) for Drupal
Search Engine Optimisation (SEO) for DrupalSearch Engine Optimisation (SEO) for Drupal
Search Engine Optimisation (SEO) for Drupal
 
From Drupal 7 to Drupal 8 - Drupal Intensive Course Overview
From Drupal 7 to Drupal 8 - Drupal Intensive Course OverviewFrom Drupal 7 to Drupal 8 - Drupal Intensive Course Overview
From Drupal 7 to Drupal 8 - Drupal Intensive Course Overview
 
10 Tips for E-commerce on Drupal
10 Tips for E-commerce on Drupal10 Tips for E-commerce on Drupal
10 Tips for E-commerce on Drupal
 
Flash SEO Secrets
Flash SEO SecretsFlash SEO Secrets
Flash SEO Secrets
 
Drupal As A Jigsaw
Drupal As A JigsawDrupal As A Jigsaw
Drupal As A Jigsaw
 
Security panel-western-mass-drupal-camp
Security panel-western-mass-drupal-campSecurity panel-western-mass-drupal-camp
Security panel-western-mass-drupal-camp
 
Structured Data & Schema.org - SMX Milan 2014
Structured Data & Schema.org - SMX Milan 2014Structured Data & Schema.org - SMX Milan 2014
Structured Data & Schema.org - SMX Milan 2014
 
Technical SEO for WordPress - 2019 edition
Technical SEO for WordPress - 2019 editionTechnical SEO for WordPress - 2019 edition
Technical SEO for WordPress - 2019 edition
 
Drupal training-by-ruchiwebsolutions
Drupal training-by-ruchiwebsolutionsDrupal training-by-ruchiwebsolutions
Drupal training-by-ruchiwebsolutions
 
The Secret Sauce Behind A High-Performance Drupal Site
The Secret Sauce Behind A High-Performance Drupal SiteThe Secret Sauce Behind A High-Performance Drupal Site
The Secret Sauce Behind A High-Performance Drupal Site
 
10 Things Webdesigners tend to do Wrong in SEO - SMX 2014
10 Things Webdesigners tend to do Wrong in SEO  - SMX 201410 Things Webdesigners tend to do Wrong in SEO  - SMX 2014
10 Things Webdesigners tend to do Wrong in SEO - SMX 2014
 
A Sneak Peek Into Drupal - A Beginner’s Guide.pdf
A Sneak Peek Into Drupal - A Beginner’s Guide.pdfA Sneak Peek Into Drupal - A Beginner’s Guide.pdf
A Sneak Peek Into Drupal - A Beginner’s Guide.pdf
 
Myths & true stories about JavaScript for SEO
Myths & true stories about JavaScript for SEOMyths & true stories about JavaScript for SEO
Myths & true stories about JavaScript for SEO
 
The Myth Surrounding Drupal Migration For 2022
The Myth Surrounding Drupal Migration For 2022The Myth Surrounding Drupal Migration For 2022
The Myth Surrounding Drupal Migration For 2022
 
How to Scale SEO Work NOBODY Wants to Do (Including Your Competitors) to Rapi...
How to Scale SEO Work NOBODY Wants to Do (Including Your Competitors) to Rapi...How to Scale SEO Work NOBODY Wants to Do (Including Your Competitors) to Rapi...
How to Scale SEO Work NOBODY Wants to Do (Including Your Competitors) to Rapi...
 
How to scale SEO work NOBODY wants to do (including your competitors) to rapi...
How to scale SEO work NOBODY wants to do (including your competitors) to rapi...How to scale SEO work NOBODY wants to do (including your competitors) to rapi...
How to scale SEO work NOBODY wants to do (including your competitors) to rapi...
 
Drupal 8 Upcoming Features
Drupal 8 Upcoming FeaturesDrupal 8 Upcoming Features
Drupal 8 Upcoming Features
 
Hire Drupal Developers For Your Website
Hire Drupal Developers For Your WebsiteHire Drupal Developers For Your Website
Hire Drupal Developers For Your Website
 

Recently uploaded

Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.CarlotaBedoya1
 
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)Delhi Call girls
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...APNIC
 
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)Damian Radcliffe
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...Diya Sharma
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Call Girls in Nagpur High Profile
 
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...Sheetaleventcompany
 
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...Escorts Call Girls
 
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Servicegwenoracqe6
 
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Delhi Call girls
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersDamian Radcliffe
 
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...SofiyaSharma5
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...tanu pandey
 

Recently uploaded (20)

Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Pratap Nagar Delhi 💯Call Us 🔝8264348440🔝
 
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.
INDIVIDUAL ASSIGNMENT #3 CBG, PRESENTATION.
 
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
 
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
 
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
 
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
 
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl ServiceRussian Call girl in Ajman +971563133746 Ajman Call girl Service
Russian Call girl in Ajman +971563133746 Ajman Call girl Service
 
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
 
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
 
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
@9999965857 🫦 Sexy Desi Call Girls Laxmi Nagar 💓 High Profile Escorts Delhi 🫶
@9999965857 🫦 Sexy Desi Call Girls Laxmi Nagar 💓 High Profile Escorts Delhi 🫶@9999965857 🫦 Sexy Desi Call Girls Laxmi Nagar 💓 High Profile Escorts Delhi 🫶
@9999965857 🫦 Sexy Desi Call Girls Laxmi Nagar 💓 High Profile Escorts Delhi 🫶
 
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
 

Drupal SEO Pitfalls and How To Avoid Them

  • 1. Drupal SEO Pitfalls and How To Avoid Them - by Brent Gees and Wouter De Bruycker
  • 3. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 3 ABOUT US Brent Gees ● Drupal Architect and Drupal Trainer at Dropsolid ● Speaker at Drupal Dev Days Lisbon 2018 ● Speaker at Drupalcamp Ghent 2018
  • 4. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 4 ABOUT US Wouter De Bruycker ● SEO Strategist & Evangelist at Dropsolid ● Speaker at Digital Content Marketing Congress: "Technical SEO 101 (& 102)" ● Closing Keynote Speaker at DMB Day “Today is Yesterday's Future: SEO in Evolution"
  • 5. 2PUBLIC ENTITIES ALL PAGES SHOULD BE AN ENTITY ABOUT US 3 1
  • 6. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 6 PUBLIC ENTITIES By default, entities might be publicly available on their own unique URL. Example: a “team member” module could generate a public node for each team member, while they are really only used for a “team overview page” and the site doesn’t need detail pages for each team member. https://mysite.com/node/42, https://mysite.com/taxonomy/term/42, ... The case
  • 7. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 7 PUBLIC ENTITIES This results in low value and “thin content” pages, indexable by Google. You don’t want these pages on your site because they are a waste of resources (bandwidth, crawl budget, database storage, …). The problem
  • 8. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 8 PUBLIC ENTITIES Prevent those entities from being accessed by visitors This can be done by modules such as rabbit_hole The solution
  • 9. 3ALL PAGES SHOULD BE AN ENTITY INDEXED INTERNAL SEARCH PUBLIC ENTITIES 4 2
  • 10. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 10 ALL PAGES SHOULD BE AN ENTITY Oftentimes, some pages on websites are generated based on other content. These pages are not an “editable node” in the backend. Examples: homepage, overview pages, ... The case
  • 11. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 11 ALL PAGES SHOULD BE AN ENTITY When a page isn’t editable as a node, there’s no easy way to edit the meta tags, or to configure the XML sitemap inclusion for this page, or ... The problem
  • 12. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 12 ALL PAGES SHOULD BE AN ENTITY • Use the core drupal layout builder to construct the homepage The solution
  • 13. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 13 ALL PAGES SHOULD BE AN ENTITY • Use paragraphs together with modules such as block_field or overview_field to add blocks to the page. The solution
  • 14. 4INDEXABLE INTERNAL SEARCH INDEXED TEST ENVIRONMENTS AND PAGES ALL PAGES SHOULD BE AN ENTITY 5 3
  • 15. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 15 INDEXABLE INTERNAL SEARCH By default, internal search result pages are often indexable by search engines. The case
  • 16. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 16 INDEXABLE INTERNAL SEARCH This results in low value and “thin content” pages, indexable by Google. You don’t want low-value pages in the index. Google also implicitly mentions in its quality guidelines to not let Googlebot index internal search results. The problem
  • 17. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 17 INDEXABLE INTERNAL SEARCH When using views for your search pages install metatag and metatag_views module The solution
  • 18. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 18 INDEXABLE INTERNAL SEARCH When using a node for your search pages Install metatag and add the field to your content type The solution
  • 19. 5INDEXED TEST ENVIRONMENTS AND PAGES ASSETS BLOCKED BY ROBOTS.TXT INDEXABLE INTERNAL SEARCH 6 4
  • 20. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 20 INDEXED TEST ENVIRONMENTS AND PAGES Development and staging environments are often crawlable and indexable by search engines because of configuration issues. Or because of laziness ¯_(ツ)_/¯ Temp content is also something that often shows up in search results. The case
  • 21. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 21 INDEXED TEST ENVIRONMENTS AND PAGES Everybody probably agrees we don’t want our staging environments or paragraph testing pages to be in the Google index, or even be publicly available, for a wide range of reasons. The problem
  • 22. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 22 INDEXED TEST ENVIRONMENTS AND PAGES The problem
  • 23. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 23 INDEXED TEST ENVIRONMENTS AND PAGES Test pages on live environments Unpublish if possible or prevent from indexing with metatag module The solution
  • 24. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 24 INDEXED TEST ENVIRONMENTS AND PAGES Test environments Use htpassword protection for your environments The solution
  • 25. 6ASSETS BLOCKED BY ROBOTS.TXT MODULE OVERLOAD INDEXED TEST ENVIRONMENTS AND PAGES 7 5
  • 26. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 26 ASSETS BLOCKED BY ROBOTS.TXT Sometimes website assets (like favicons or images) are located inside a folder that’s blocked for crawlers via the robots.txt. The case
  • 27. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 27 ASSETS BLOCKED BY ROBOTS.TXT We want Google to understand our entire page and “see” it as a regular website visitor would see it. If some assets are blocked via robots.txt, Google can’t view the page as if it was a regular website visitor. The problem Image: notification in Google Search Console due to blocked site assets.
  • 28. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 28 ASSETS BLOCKED BY ROBOTS.TXT Make sure your website assets (images, icons, favicon, …) are in a publicly available folder, not blocked by robots.txt. Keep an eye on your Google Search Console property for notifications regarding blocked resources. The solution
  • 30. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 30 MODULE OVERLOAD There are a lot of modules available for a wide range of use cases, which is mostly a good thing. The case
  • 31. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 31 MODULE OVERLOAD Be careful not to overload your website with bulky or unnecessary modules. Each one could require multiple resources to be downloaded and executed by the browser, which will have an impact on your website speed. The problem
  • 32. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 32 MODULE OVERLOAD “We encourage you to start looking at your site's speed “...” — not only to improve your ranking in search engines, but also to improve everyone's experience on the Internet.” Source: Google Webmaster Central Blog - “Using site speed in web search ranking” https://webmasters.googleblog.com/2010/04/using-site-speed-in-web-search-ranking.html The problem
  • 33. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 33 MODULE OVERLOAD Think twice before installing a module. Do you really need it or is there an easier solution? Check if there are unused modules on your site with something like unused_modules. The solution
  • 35. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 35 REDIRECT-REDIRECT-REDIRECT Not paying close attention to redirect setups could result in multiple redirects following each-other. The case
  • 36. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 36 REDIRECT-REDIRECT-REDIRECT Redirect chains are not search-engine-friendly. When Googlebot visits a page which returns a redirect statuscode, it adds that page to the bottom of its “to visit” list for that website. For small websites this is not a big problem, but for big websites this could result in slow indexation times. The problem
  • 37. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 37 REDIRECT-REDIRECT-REDIRECT You want as little redirects as possible. The problem
  • 38. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 38 REDIRECT-REDIRECT-REDIRECT Don’t just uncomment the lines in htpasswd The solution
  • 39. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 39 REDIRECT-REDIRECT-REDIRECT But think along with your site The solution
  • 40. 9SECURITY LEAKS IMPACTING SEO ROBOTS.TXT DISALLOW != NOINDEX REDIRECT-REDIRECT-REDIRECT 10 8
  • 41. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 41 SECURITY LEAKS IMPACTING SEO Allowing public file-uploads could result in lower organic traffic when not setup correctly. The case
  • 42. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 42 SECURITY LEAKS IMPACTING SEO If files can be uploaded without some form of authentication or CAPTCHA, this could result in thousands of files being uploaded by spammers, and indexed by Google. The problem
  • 43. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 43 SECURITY LEAKS IMPACTING SEO The problem
  • 44. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 44 SECURITY LEAKS IMPACTING SEO When Google notices spam on your website, they could punish you with a “manual action”, potentially lowering your organic search visibility. The problem
  • 45. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 45 SECURITY LEAKS IMPACTING SEO “Google issues a manual action against a site when a human reviewer at Google has determined that pages on the site are not compliant with Google's webmaster quality guidelines” “If a site has a manual action, some or all of that site will not be shown in Google search results.” Source: https://support.google.com/webmasters/answer/9044175?hl=en The problem
  • 46. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 46 SECURITY LEAKS IMPACTING SEO Use a module to implement reCAPTCHA, recaptcha or simple_recaptcha The solution
  • 47. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 47 SECURITY LEAKS IMPACTING SEO Know when to use private files and place them outside of Drupal’s web root. The solution
  • 48. 10ROBOTS.TXT DISALLOW != NOINDEX GOOGLE ANALYTICS HORROR SECURITY LEAKS IMPACTING SEO 11 9
  • 49. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 49 ROBOTS.TXT DISALLOW != NOINDEX Contrary to popular belief, blocking a page (or folder) via robots.txt or adding a noindex directive to the meta robots tag are not the same thing. Robots.txt instructions impact crawling, not indexing. Noindex directives using a meta tag impact indexing, not crawling.
  • 50. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 50 ROBOTS.TXT DISALLOW != NOINDEX It sounds weird, but Google is able to stumble upon a link on an external website linking to a page blocked by robots.txt, and still index it. The result will most likely be a snippet in the search results without a title or description, since Google can’t read the title or meta-description.
  • 51. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 51 ROBOTS.TXT DISALLOW != NOINDEX “Now wait a second Wouter. I understand it could happen in theory a link is indexed even though it’s blocked by robots.txt, but do things like this really happen in practice?”
  • 52. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 52 ROBOTS.TXT DISALLOW != NOINDEX Why yes, yes they do:
  • 53. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 53 ROBOTS.TXT DISALLOW != NOINDEX A weird “/home//home” page is indexed on drupal.org. Let’s take a look at the robots.txt: https://www.drupal.org/robots.txt … Bingo: They noticed “strange homepage URLs” and tried removing this page from the Google index by blocking Google from crawling the page.
  • 54. 11GOOGLE ANALYTICS HORROR RAPID-FIRE BEST PRACTICES ROBOTS.TXT DISALLOW != NOINDEX 12 10
  • 55. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 55 GOOGLE ANALYTICS HORROR Correct data is very important when analysing SEO-efforts Pay close attention to sudden drops and spikes in Google Analytics data. There might be a configuration issue.
  • 56. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 56 GOOGLE ANALYTICS HORROR The case
  • 57. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 57 GOOGLE ANALYTICS HORROR https://www.drupal.org/project/eu_cookie_compliance updated Each pageview started a new session as long as website visitors didn’t accept the cookies The problem
  • 58. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 58 GOOGLE ANALYTICS HORROR Two-step fix: The solution 1. Anonymize the visitor IP-addresses (GA or GTM setup) 2. Whitelist the Google Analytics cookies (Drupal module setup)
  • 59. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 59 GOOGLE ANALYTICS HORROR The solution Update/patch the google analytics module to comply with the eu_cookie_compliance so that the snippet isn't loaded until approval was given. More information: https://www.drupal.org/project/google_analytics/issues/3060312
  • 60. 12RAPID-FIRE BEST PRACTICES GOOGLE ANALYTICS HORROR 11
  • 61. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 61 RAPID-FIRE BEST PRACTICES Use the Google Analytics module (google_analytics) or the Google Tag Manager module (google_tag). Not both.
  • 62. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 62 RAPID-FIRE BEST PRACTICES Aggregate and minify css and js files where possible. https://www.drupal.org/project/advagg
  • 63. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 63 RAPID-FIRE BEST PRACTICES Make sure each page has a correct/well-configured canonical tag. Not enough time to go into detail because of the complexity (what about paging parameters? facet filtering parameters? combinations with hreflang? ...) come find us after the talk or search the interwebs for resources :)
  • 64. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 64 RAPID-FIRE BEST PRACTICES Use Pathauto module to generate nice urls for your pages
  • 65. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 65 RAPID-FIRE BEST PRACTICES Follow-up on the amount of pages indexed by Google via Google Search Console. Seems too high? Maybe some rabbithole setup is needed to remove separate pages from the index. Seems too low? Maybe important pages are no-indexed?
  • 66. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 66 RAPID-FIRE BEST PRACTICES Make sure your base url is not ‘http://default/’ in your sitemap XML, we’ve seen this issue occur a lot in live sites. Setup your cron job correctly, more info: https://www.drupal.org/project/xmlsitemap/issues/1944518
  • 67. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 67 RAPID-FIRE BEST PRACTICES Create checklists! • Things that have to be done before going live • Things to check when site is live • Things to check when site is live for x days
  • 68. Image: WARNER BROS. ENTERTAINMENT INC.
  • 69. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 69 QUESTIONS Time left? Fire away! No more time? Come find us at the Dropsolid booth (#13) Get in touch: https://www.linkedin.com/in/brentgees/ https://www.linkedin.com/in/wouterdebruycker/ + Keep an eye on the Dropsolid Twitter feed for these slides!
  • 70. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 TODO ABOUT US 70 Join us for contribution opportunities Thursday, October 31, 2019 Mentored Contribution 9:00-18:00 Room: Europe Foyer 2 First Time Contributor Workshop 9:00-14:00 Room: Diamond Lounge General Contribution 9:00-18:00 Room: Europe Foyer 2 #DrupalContributions
  • 71. Drupal SEO Pitfalls and How To Avoid Them - DrupalCon Amsterdam 2019 TODO ABOUT US 71 What did you think? Locate this session at the DrupalCon Seattle website: https://drupal.kuoni-congress.info/2019/program/ Take the Survey! https://www.surveymonkey.com/r/DrupalConAmsterdam Thank You!