Drupal

Drupal custom 404 page module and/or redirect

Currently there are two options for creating error pages in the Drupal system.

The options:

  • Drupal’s built-in support for error pages (@ /admin/settings/error-reporting)
  • Customerror.module (404 & 403) - recommanded

Global Redirect Module

The Global Redirect module has three main features:

If a requested URL has a URL alias, Global Redirect will do a 301 redirect to the URL alias.
For example, if you have a URL alias for node 25 called page-title, the Global Redirect Module will do a 301 redirect from http://example.com/node/25 to http://example.com/page-title.
It will remove trailing slashes from URLs.
For example, the Global Redirect Module will redirect a request for http://example.com/page-title/ to http://example.com/page-title. If search engines spider both versions, they will see two different URLs with duplicate content.
If a requested URL is being used as Drupal's front page, it will 301 redirect to the actual front page.
For example, if you are using the path frontpage as your site's front page, a request for http://example.com/frontpage will 301 redirect to http://example.com/.

Drupal Pathauto Tutorial

Drupal's Pathauto Module is a great module for SEO. It automatically generates URL aliases for nodes based on highly-configurable rules.

This tutorial starts by introducing Drupal's URL aliases, and then moves on to configuring Pathauto. I'm writing this tutorial for Pathauto version 5.x-2.1, but the basic concepts should apply to other versions also.

First, download the Pathauto module and the Token Module. Both are needed to make Pathauto work. I also recommend installing the related Global Redirect module for reasons mentioned in my Drupal SEO tutorial.

Drupal On-site SEO

Drupal is a great open source GPL content management system. With a few modifications it can be configured for excellent on-site search engine optimization. This tutorial only covers the very basics of on-site optimization. It will make sure that search engines are able to spider your site, and prevent some common Drupal SEO errors.

This is just a basic introduction to configuring a Drupal site for good search engine rankings.

All the Drupal modules I am using

I list them down first, brief introduction will come later...

Syndicate content