rockin' search engine optimization in drupal
DESCRIPTION
Learn how to excel in search engine optimization within your Drupal site. Covers the essential modules in a simple overview. Covers XML Sitemap, Pathauto, and the Metatag modules and its submodulesTRANSCRIPT
Rockin' yourSearch Engine Optimization
Through Drupal
Sitemap – a website's directory
● Directory of pages in your website
● Allows easy way for search engines to index each page
● Can state last modified date, change frequency, and priority.
XML Sitemap Module!
● Actually a grouping of sub modules
● Updates on cron● Provides automatic sitemap
submission to Bing and Google
● Individual paths added to sitemap through submodules
● Everything is disabled by default!
Provides● Custom Links● Search engines● Internationalization● Menu● Node● Taxonomy● User
Module link: https://drupal.org/project/xmlsitemap
Example of XML Sitemap content configurationpath: admin/config/search/xmlsitemap/settings
Your pages now exist on the Internet!(Almost, kinda)
Utilize webmaster tools to submit sitemap (beyond just Drupal doing it.)● Google Webmaster Tools: http://www.google.com/webmasters/● Bing Webmaster Tools: http://www.bing.com/toolbox/webmaster
Next, unuglify your content URLs.(Unless you really like node/1234 and taxonomy/term/23)
Friendly URLs with Pathauto● Drupal supports “SEO urls” aka
path aliases● Does not support automatic
path alias generation● Pathauto adds automatic path
aliases● Turning it on puts it in action.● Customizable patterns for epic
URL names● Supports files, nodes, taxonomy
terms, and users, and more!
Module link: https://drupal.org/project/pathauto
Metadata (tags): Tying it all together
● Meta tags are an HTML element
● Provides metadata about the content being viewed
● Gives content context offsite (search engine, social media)
Types of Metatag data● Description● Publisher● Author● Open Graph● Twitter cards
Luckily, there's a module for that: Metatag
Metatag module
● Defacto SEO module for Drupal.
● Easily configurable to provide default meta tag values
● Allows patterns to be set by node type, taxonomy vocabularies
● Ability to customize individual nodes, terms, views, or panels.
● Use tokens for dynamic content
Provides● Open Graph
● Twitter Cards
● Dublin Core
● Context integration
● Views integration
● Panels Integration
Example of Metatag & submodule defaults management. You have the ability to add new defaults (by node type, vocabulary)
Metatag: The Basics● Page title● Description● Abstract (oddity)● Keywords (deprecated)● Google News data● Image source● Canonical URL● Shortlink URL● Publisher URL (Google+ Authorship)
● Author URL (Google+ Authorship)
Metatag: Open Graph● Metatag provides a means to
enter a value for all possible Open Graph values.
● Structured data protocol created by Facebook
● Supported by Facebook, Pinterest, LinkedIn, Google+ and more.
● Supports images, audio, and video identification.
● Defines content as type: music, video, article, book, etc.
● Document site: http://ogp.me/
Metatag: Twitter Cards
● Twitter does not use Open Graph
● Utilizes Twitter Cards and its own markup
● Metatag provides a means to populate all proper options
● Must get approved by Twitter for site to display as a card in timelines.
Metatag: Context Module
● Requires Context module to be enabled
● Allows manipulation of default Metatag settings based on Context conditions.
Metatag: Views Integration
● Allows pages created in Views to support meta tags.
● Without Metatag: Views, a View page only sets title tag.
● Adds a setting section that provides per View configuration of all availability Metatag options.
Metatag: Panels Integration
● Provides a configuration page for Panels
● Allows page variants to have unique Metatag configurations
● Harnesses page variant context's to provide token replacements.
SUCCESS!
● Screaming Frog SEO: http://www.screamingfrog.co.uk/seospider/
● Open Graph Debugger: https://developers.facebook.com/tools/debug/
● Twitter Card Validator https://dev.twitter.com/docs/cards/validation/validatorNote! You need to activate Twitter Cards at the above URL
● Search Engine Land: http://searchengineland.com/● Google Webmasters on YouTube:
https://www.youtube.com/user/GoogleWebmasterHelp