Drupal SEO Checklist for 2013

Drupal SEO Checklist for 2013

By George Papadongonas 29th November 2012 Drupal

The SEO environment has changed significantly during the last 18 months, especially after the Panda and Penguin updates. What worked a couple of years ago, is just not relevant anymore. Before those updates, it was much easier to achieve high rankings in search engines just by building or buying links from low quality sites. Post-penguin SEO requires a more holistic approach, with focus on quality content but also requires a technical perfection.

But, Drupal is already SEO friendly; you are going to answer. Of course it is, but that does not mean that it is perfect right out of the box, but that it has the flexibility to become a SEO-perfect platform. A plain Drupal installation does not provide everything that is required so, here are the basic steps to optimize it to the last detail.

Planning

  1. Begin with the Search Optimization planning, before beginning to build the site. The development of the website is the not the final destination after all, it’s just the medium for the creation and promotion of site’s content. 
  2. Do your keyword research to understand what people are looking for and how you can help them to find it. Plan your site architecture, hierarchy and layout based on your findings. Use the Keyword Tools from Google or Bing. For a more advanced tool, use KeywordSpy (paid, with a free trial).

Setting up Drupal

  1. Create a redirect between the www and the non-www version of your site. If you don’t, search engines will index both versions and you will have a duplicate content issue. It really does not matter which version you’re using, but stick to one. To enable it, open the .htaccess file and uncomment the related lines (lines 81-82 with the www version, lines 87-88 without the non-www version).
  2. Install the SEO Checklist module. This module does not provide any functionality by itself, but it gives you a 58-points checklist for the most important actions related to the On-Site SEO. It helps to keep things organized and it also provides some automated tests for installed modules etc.
  3. Enable Clean URLs. This one is more than obvious, must check it just in case.
  4. Install and configure Pathauto module. The default URL for a Drupal node page is node/nid. Use this module to define URL patterns for every content type, taxonomy and user pages. Now, every time you create something new, a URL alias will be created automatically, which will be search engine friendly. For better results, try to limit the URL length to 115 characters.
  5. Install and configure Global Redirect module. In the previous step, we actually created a duplicate URL for every piece of content. When search engine’s spiders visit the site, they will actually track two different pages and it’s very possible to have a duplicate content penalty. This module solves this problem by creating 301 redirects from the original to the alias URL.
  6. Install and configure Redirect module. If you change the URL in a page which is already indexed in a search engine, when a user clicks on this specific result will land on a 404 error page on your site. You’ll also lose the benefit that you had from existing incoming links to this page. This module creates redirects from the old to the new alias and improves the search experience of the users.
  7. Install and configure Pathologic module. It fixes images paths and URLs inside your content, so that you can move them in different domains, subdomains or folders without creating broken links.
  8. Install and customize Transliteration module if you are creating a web site in a language different than English and you want to use only US-ASCII characters in your URLs.
  9. Create an account in Google Analytics and install and configure Google Analytics module. Google Analytics does not only have information about traffic, but it can also provide useful insights about the performance of the site’s landing pages for different keywords.
  10. Install XML sitemap module. Do not forget to configure the module and declare the content types and taxonomy terms that you want to be included in it the XML sitemap. 
  11. Create an account in Google Webmasters Tools and submit the XML sitemap. This is a step, which is often overlooked. After the creation of the XML sitemap do not forget to submit it in GWT. Make a check a after a while that it was submitted successfully and there were no errors.
  12. Create an account in Bing Webmasters Tools and submit the XML sitemap. We all tend to focus on Google, but as Bing has now a market share of 16%, it is an important player that you cannot ignore.
  13. The default robots.txt of Drupal works fine in most cases, but some minor changes are usually required. In many cases you want to hide specific pages or folders of the site for search engines, by adding a new line with the “Disallow” command and the name of file or folder. 
    Also, add the URL of the XML sitemap inside the robots.txt file.
    If you’re running a multi-site Drupal installation, use RobotsTxt to generate different files for every one of them.

Optimizing Pages

  1. Install Meta tags module. It allows the creation of patterns for automated generation of meta tags in the <head> section of the page. You can define global settings, but also different settings for every content type, taxonomy, file type or users.
  2. Configure page titles from meta tags settings.  Every URL should have a page title; it is the main definition for search engines and their users, about the page’s content.  To be compatible with the main search engines, try to limit the title’s length to 65 characters. Also, avoid duplicate page titles.
  3. Configure meta descriptions from meta tags settings. Meta description is not a ranking factor, but is the text that users read in the search engine results pages.  The automated generation method uses the first paragraph from your text, so it’s not always ideal. It’s better to take a quick look before posting a node and adjust accordingly.  Avoid duplicate meta descriptions and try to limit their length to 156 characters.
  4. Do not bother to use the keyword tag. Search engines stopped using it several years ago, so it’s not a ranking factor anymore. Actually, it can only help your competitors, as they can easily understand what keywords you are targeting for.
  5. Use proper heading tags. Drupal usually does it right by default, as node pages ,pages created by the Page Manager or Views, are using <h1> titles. Also, secondary elements like blocks or panes are using <h2> titles. Things to watch: some themes are using <h1> to display the site name, so be sure that you do not have two <h1> tags per page. Also, when you are creating your template overrides, be sure that you are using the appropriate markup for heading tags.
  6. Add the rel=”canonical” link element to declare the preferred version for search engines, among the different URLs that a Drupal page has. It can be performed through the meta tags module settings. 
  7. Use the <alt> attribute for your images. Without it, search engines cannot understand the content of the image. Remember that you can have search engine visibility not only for pages, but for images as well.
    When you’re using an image field, you can enable the alt attribute, through the field settings and then add it for every new image.
  8. Optimize your image file names. Using a descriptive file name helps to achieve better rankings. Also, it is the first piece of text that is displayed in Google Images results, so an appropriate file name will attract more clicks.
  9. In many cases you create nodes in Drupal (like images, or tweets), with the only purpose to be included in other nodes, views or panels. To completely hide those pages from search engines, you can use the Rabbit Hole module, which creates redirects from this nodes to custom paths, so they are not visible or crawlable.
  10. Pay special attention when you are creating multilingual web sites. Translating only the site’s content and header tags is not enough. Every important element like page titles, page descriptions and alt attributes should be translated as well.
  11. Install and customize microdata module. Using microdata to markup you pages according to schema.org specifications, will increase the change for rich snippets to be displayed in search engine results pages and will have as a result increased visibility for your web site and clicks from the search engines. Alternatively, you can use RDFa.
  12. Social signals are becoming an important ranking factor, so it’s good to add social share buttons to your pages. There are many different modules for this task, like Social Share or Share This. Even better use custom code, as described in the Google Analytics social integration guidelines.
  13. You may read that Google+ is a failure or it’s dead. The truth is that even if it’s still a small network, it’s growing fast. In many cases Google+ is an important ranking factor for Google. So, creating a page in Google+ is a beneficial strategy.  Also, use rel=”publisher” to connect your website with your Google+ page. 
  14. Google authorship provides several benefits related to SEO. In many cases, it adds the author’s picture in the search results, thus increasing trustworthiness and click-through rates. Also, it generates a “more from author” button, to check other posts from the same author.  So, first ask your site authors to create personal profiles in Google+ and add the site details in them.  Then, add the rel=”author” attribute, a way to do it in Drupal is described here.
  15. If you’re creating a news website, optimize your site for Google news. Generate a Google news site map by installing the related module Also, consider using the news keyword metatag (yes, it’s a keyword metatag!) to help Google to better understand your content. 
  16. Be careful when you’re using https. Many times both the http and the https versions of your pages will be indexed as separate pages.  Search in Google for “site:yourdomain.com inurl:https”  to locate duplicate content. Use robots.txt to keep search engines from indexing https pages.
    Consider also to switch the whole site to https, as Matt Cutts from Google says in a comment that it’s OK to do it.
  17. Unfortunately, Views or Panels do not have meta tags by default. Install and configure the Meta Tags Quick module, which allows the addition of the main meta tags for any path that is generated by Drupal.
  18. For the pager links of paginated content like Views, use rel=“next” and rel=“prev”. An easy way to do it is described here.
  19. Faceted Search is a great feature and very helpful for site visitors. If it’s not handled right though, it can cause serious problems to the site’s SEO. First of all, the generated URLs are containing a lot of parameters and are not search engine friendly. Faceted API Pretty Paths module solves this problem, as it allows the creation of URLs with an appropriate format. Also, as every filter and every sorting option creates a new URL with an extra parameter, even a small site with a few nodes can generate thousands of different URLs and gave a duplicate content issue. The correct use of canonical tags can eliminate this conflict.

Launching and beyond

  1. Hide or delete your development site. Your client will not like it when it is ranked higher than the production site in search engines. 
  2. On the other hand, if you put a “Disallow: /” in your robots.txt file, remember to remove it, so that search engine’s spiders can crawl your new web site.
  3. Site speed is a factor in search rankings, and it also affects conversion rates.  Read carefully the Drupal caching, speed and performance guide and optimize every aspect to your web site to the maximum.
  4. Use Screaming Frog to quick analyze your site and detect possible issues. Check for client and server errors, broken links, titles, headers, images and be sure that your new site is error-free.
  5. Forget the traditional link-building methods. Create a content creation and promotion plan and acquire links through social media and relationship building. Do not expect to rank well just because you stuffed some nice keywords and you are using Drupal.
  6. Be a part of the Search Engine Optimization Drupal group or chat on irc://irc.freenode.net/drupal-seo

SEO does not end with site launch, but it is a continuous process. Google algorithm changes about 500-600 times a year, so you have to be sure that everything is up-to-date. Make monthly audits in your website, study your analytics, check that all the new content is SEO optimized and make sure that no issues were causes by new functionality or updated modules.

Stay in touch – join our newsletter!

 

 

Comments

Richard's picture
Richard

It may be useful to set canonical links and still use the node/nid URL as short URL.

I also think that the issue of domains with or without www is more a usability thing for visitors than a duplicate content issue, as e.g. google lets you set the preferred domain http://support.google.com/webmasters.

Chris Sloan's picture
Chris Sloan

You might take a look at the LevelTen Apps module and install the SEO Essentials, quick and easy way to get much of that knocked out quickly!

Maachou Rahou's picture
Maachou Rahou

All SEO articles that I read, I have found an article pa as complete as it.
De tous les articles SEO que j'ai lu, je n'ai pa trouvé un article aussi complet que celui ci

george papadongonas's picture
George Papadongonas

@Richard You're right about the URL canonicalization. It's also correct that you can declare your preferred domain in GWT, I create the redirect as well, just to be sure.

george papadongonas's picture
George Papadongonas

@Chris The SEO Essentials is another good option for Drupal SEO. I'm just not sure how well it's still supported, as I haven't seen a new version during the last months.

george papadongonas's picture
George Papadongonas

@Maachou Merci beaucoup!

humayun islam's picture
humayun islam

Drupal is good for making webpage. I appreciate your article that helps newbie seo student.
Thank you for writing a nice article for ours.

Damien McKenna's picture
Damien McKenna

Metatag includes integration with Context so you can customize meta tags for any Context definition, so no need for Metatag Quick.

Damien McKenna's picture
Damien McKenna

BTW there's lots of evidence to strongly suggest that using internal paths for the canonical URL is the wrong way of doing it, the canonical URL should be the URL you want everyone to use and should not incur a 301 redirect to another location.

george papadongonas's picture
George Papadongonas

@humayun Thanks!

Gerrid Smith's picture
Gerrid Smith

Has been studying Drupal for quite some time now. These tips for 2013 are all helpful, thank you!

george papadongonas's picture
George Papadongonas

@Damien Thanks for your tip for the Context module and your remarks about the canonical URL. To be honest, I'm not using the Context module, but this solution seems interesting.

Peter Zmijewski - CEO at KeywordSpy's picture
Peter Zmijewski...

Seo is the best option for ranking of any web site. And drupal seo checklist is also very helpful for the users.

Chii Richtown Real Estate's picture
Chii Richtown R...

Thanks for the tips very useful

Dave McEnroe's picture
Dave McEnroe

Useful article. I am a recent graduate now working as an SEO assistant at a digital agency full of Drupal Developers; the tips in this article are helping me sink my teeth in! Much appreicated.

MaxMendez's picture
MaxMendez

Wonderful article, it's a great list of all of the most important points to consider

Sotoodeh's picture
Sotoodeh

A very complete list of all SEO Tools for Drupal. I found it very helpful and learned a lot!
Thanks George

Jon's picture
Jon

Very detailed post thanks. Some hosting platforms don’t like .htaccess (and you can get around the problems this causes) but in terms of re-directs the canonical link will solve it. I have tested this and it worked.

It’s also worth mentioning that meta keywords can also be used by the search engines as a spam / over optimisation signal. So you are on the mark with not using them, this just adds to the reasons why not to.

Perfect post thanks.

Leadgenix's picture
Leadgenix

This is an awesome post. Drupal is being required by many employers now and is showing up a lot in the back end of sites. Thanks for the checklist!

SamDave's picture
SamDave

Hey its the best check list i ever seen!!!! Thanks a lot...

Steve's picture
Steve

I am totally new to Drupal or you can say have very less information about Drupdal. Information you provided in your post is absolutely helpful and can get an idea to start an study more deeply in drupal.

Thanks George..

Marc A Donald's picture
Marc A Donald

That's a well written article George !! On-Page Optimization has no discussion anymore when it comes to its factors, what matters now and lots of websites isn't paying attention to it is the links structure, make sure to add your keywords in the url and create a well organized url structure so your website may show in the SERPs as rich snippet.
Thank you,
Marc A. Donald

flocondetoile's picture
flocondetoile

Great article. I discover some modules really useful. I translated your article in french.
http://flocondetoile.fr/blog/le-referencement-naturel-sous-drupal

Thanks

daniel truninger's picture
Daniel Truninger

@flocondetoile: Thanks for translating. We absolutely love the sound the sentence "Le développement du site n'est pas, après tout, le but mais juste un moyen, le support pour la diffusion et la promotion de son contenu." in French.

Carla's picture
Carla

We are beginning to use Drupal as a platform for clients and this was a great article to come across to kick start my learning. I have my own check list of modules to include that were mostly covered in this article however, I now have some thoughts on what am I missing since there were several here that I did not previously consider. Thanks for the enriching and thought provoking info!

Manual Social Bookmarkings Website's picture
Manual Social B...

Thanks for a great article.

davy rogers's picture
davy rogers

A very nice and detailed post, might even refer to it at somepoint... Thank you!

Jenna Moss's picture
Jenna Moss

Great info for Drupal user..

Add comment

Search form

Latest comments

  • gsa captcha breaker review's picture

    Ҭɦere is a rіght way and a wrong way to usе
    ѕеarch engine optimization. You see, SEO copywritiոg isn't a

    gsa captcha bre...
  • youtu.Be's picture

    This proϲеss basically requires having skilled people and
    the best teϲhnolօgy put to proper use. They have proven to

    youtu.Be
  • Hardwood Flooring Northern VA's picture

    I foг all time emailed tɦіs website post рage tօ ɑll my contacts, fօr the reason that if likе to read it then my friends աill too.

    Hardwood Floori...