Drupal and SEO: A fly-by tour
26 Jan 2017
Technical disclaimerThis article is over a year old and contains technical instructions which may be out of date. The advice given may no longer be best practice.
We are often asked by those who are new to and familiar with - "what SEO options are available?". In order to answer this, we've put together an overview of some of the tools available for Drupal. We're only really going to scratch the surface, but here's a few things that Drupal can do for you to boost your rankings in search engine results.
Aggregation, minification and load orders
Aggregating and minifying stylesheets and scripts and having the option of choosing when to load external resources will rapidly increase your load speeds which is a key part of boosting your SEO. Search engines don't look favourably upon websites which have high bounce rates caused by long load speeds and Google will specifically give you a page speed score based on how quickly your content loads so it's essential to get this step right. Let's take a closer look:
For starters Drupal comes with some core aggregation and caching options so right out of the box you've got some power.
But if that doesn't cut the mustard then there's a great module plugin called or AdvAgg to those who don't like syllables. Advanced aggregation comes with a huge variety of compression, minification and aggregation tools. As you can see from the above screenshot, even the general settings are pretty advanced.
The AdvAgg Bundler allows you to combine CSS stylesheets and JS scripts to reduce the number of resources required to load a page. There are advanced settings for grouping logic and the bundler works intelligently, so if a single file (as requested in the above screenshot) cannot be achieved it will get as close to that number as possible.
Integrating is key to monitoring your website's performance and user journeys throughout your site. Luckily Drupal comes with some great analytics integration tools - of which we'll very briefly mention just a few:
The Google Analytics integration is as simple as entering your Google "Property ID" or "UA" number and tweaking the domain settings if you desire.
You can also use Google Tag Manager by entering your Container ID. Every Google tool has Drupal integration, as well as most of the other third party analytics and SEO management platforms.
Pre launch SEO checklist
You've probably been here before; you've had a website built and you need to do come SEO preflight checks. This handy module will help you check off anything you may have missed.
You'll need to check whether you've packed in those keywords in your content. Unless you love doing the Ctrl/Cmd + F or counting keywords by hand then you'll need a tool to tell you about keyword density. As always, these tools are great, but are never a substitute for a comprehensive SEO strategy. Remember to always write content for your site visitors first and then optimise for search engines - not the other way round.
Dead links will bring your site's trust rating down. No one wants to be linked out of your site to a non-existent location! This tool automatically runs periodically and produces handy reports to highlight hidden broken link issue which you may not be aware of.
Meta tags are really important to your website's SEO. They don't just tell the search engines stuff about a page. They also tell a user. Search engines utilise meta tags to display particular information to users, and social media meta tags allow you to craft your content to specific platforms. Drupal has a vast and extensive which allows you to add everything from simple page titles to canonical URLS to geo-locations to search engine authentication codes.
Just see for yourself the extensive level of meta tagging you can get in to:
A website without images is like a guitar without strings, but a website without image optimisation is like watching paint dry. If your images aren't compressed and optimised for serving up over slower internet connections you're asking for trouble in the form of increased page bounce and decreased page speed score. Luckily Drupal has the most extensive image optimisation tools compared with other CMS platforms.
The image toolkit allows you to use free and open-source yet hugely powerful automated image manipulation tools like , or . These tool kits can do everything from convert colour spaces to compressing jpeg data to removing white space from png files to converting to grayscale. The possibilities are endless.
The command line JPEG compression tools allow you to crunch JPEGs to their absolute minimum file size without destroying the clarity of the image.
And the same can be done with PNG images as well.
An is a machine-readable list of links which can be submitted to search engines for listing. This gives you greater control over what you want the search engines to see and how much priority you want given to particular pages.
The sitemap settings give you the ultimate control over what is included and what priority each given content type should be given by default as well as providing clarity over the number of links belonging to each section or content type of your website.
Is your SEO company requesting more than one sitemap? Drupal's got you covered. You can break your sitemaps up in to sections or keep all your links in one sitemap.
Every now and then a human might want to look at your sitemap. Luckily Drupal's XML Sitemap comes with a handy human-readable stylesheet which presents the data in a readable format.
Choose which search engines to submit your sitemap to and how often to re-submit it to keep your refresh profile up to date.
Nobody wants to be thinking about, or worrying about URL patterns. That's why Drupal comes with the tools to automate everything, however if you need to override a particular page URL you can set it to whatever you want.
Every piece of content has a system URL which gets assigned a URL alias automatically. You can amend a URL at the point of content creation or later by editing the URL alias. Edited URL aliases automatically redirect from the previous alias to the new one so you truly don't have to worry about URL aliases.
Defining patterns for URLs according to different content types is as simple as it looks. This will usually be done by us or your Drupal developer but the power is there for you too.
Tweak your settings to remove any accidental nasties from URL aliases.
Nobody likes unfriendly URLs - especially search engines - so tick this box and watch all your woes fade away!
Need to add a manual redirect? No problem. Need to add a whole bunch? You can do this by importing a spreadsheet.
Want to review all the redirects on your site? There's an interface for that too!
404 errors are the bane of an SEO conscious administrator's existence. Well this nifty 404 counter will help you keep on top of these by adding redirects where appropriate.
Is Drupal going to be able to handle your SEO requirements? We'd say you have all bases covered.
Is Drupal going to be as powerful as Wordpress for my SEO profile? We'd say significantly more so.
Is Drupal the CMS for me if SEO is an absolute priority? We'd say it's the best we've come across in any CMS.
Get in touch about your project
Give us a call or send us an email to talk through your project
We went to DrupalCon 2015 in Barcelona
2 Oct 2015 Once again we joined others in the Drupal community for the 2015 European Drupal convention which was held in the city of Barcelona in sunny Spain.
We went to DrupalCon 2014 in Amsterdam
5 Oct 2014 This year the Drupal community met in Amsterdam to make progress on Drupal 8, develop as coders and creatives, and of course just hang out and have fun!
More recent articles
Digital problem solving made easy
19 Nov 2020 If you manage many websites, you probably know how much effort is required to maintain them. Find out how to get your web portfolio back under control, boost their performance, and save costs in the long run.
Could mismatched web solutions scupper your business growth?
5 Aug 2020 If you’re responsible for the IT or strategic marketing in a medium or large business, ask yourself 'How is your web portfolio looking?'