# Drupal URL redirects

> Install Drupal

Canonical: https://scaplet.com/seo/drupal/redirects

Guide Drupal · URL migration

Install Drupal's Redirect module, map changed aliases to canonical destinations, and prevent 404s and redirect chains after migrations.

5 min

read

5

sources

Oct 24, 2026

updated

Scaplet Editorial Team

author

In one line

For Drupal 10 or 11, install the Redirect module with `composer require 'drupal/redirect:^1.13'`, then enable it and create mappings at `/admin/config/search/redirect`. Use a permanent redirect for a URL that has moved for good, point it directly to the final canonical path, and test the HTTP response. Pathauto can integrate with Redirect to preserve old aliases when paths change.

30-second check

## Where does your site stand?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo%2Fdrupal%2Fredirects%20(%22Drupal%20URL%20redirects%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo%2Fdrupal%2Fredirects%20(%22Drupal%20URL%20redirects%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo%2Fdrupal%2Fredirects%20(%22Drupal%20URL%20redirects%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fseo%2Fdrupal%2Fredirects%20(%22Drupal%20URL%20redirects%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 4 parts, 5 minutes.

1. [Match the module version to your Drupal site 01](#match-the-module-version-to-your-drupal-site)
2. [Redirect aliases when content URLs change 02](#redirect-aliases-when-content-urls-change)
3. [Use 404 logs to find redirects worth adding 03](#use-404-logs-to-find-redirects-worth-adding)
4. [Verify behavior after deployment 04](#verify-behavior-after-deployment)

_01_How it works

## Match the module version to your Drupal site

The Drupal.org release feed lists `8.x-1.13` (released April 24, 2026) as the current Redirect release, with core compatibility `^10 || ^11`. Confirm the supported core versions on the project page before installing; older Drupal 7 instructions and module releases do not apply to a Drupal 10/11 site.

Install on Drupal 10 or 11

```
composer require 'drupal/redirect:^1.13' drush en redirect -y
```

**Check your actual core version**The 8.x-1.13 release lists compatibility with Drupal `^10 || ^11`. If your site is on another major version, use the release page to select a compatible module version instead of forcing this constraint.

1. 01

### Add the package with Composer

From the Drupal project root, run `composer require 'drupal/redirect:^1.13'`. Commit the updated Composer files and lockfile with the rest of the deployment change.
2. 02

### Enable the module

Enable Redirect through the Extend screen or run `drush en redirect -y`. If you use configuration management, export the resulting configuration through your normal workflow.
3. 03

### Open the redirect administration screen

Use `/admin/config/search/redirect` (menu: Configuration > Search and metadata > URL redirects) to review and manage redirects. The route requires the `administer redirects` permission.
4. 04

### Add a mapping and choose a status

Select Add redirect, enter the old path in the Path field, and enter the new destination in the To field. Choose a Redirect status: the module's README lists 300, 301, 302, 303, 304, 305 and 307, and the default status in its install config is [301 Moved Permanently](/glossary/301-redirect). Use 301 for a lasting move and a temporary status for a short-lived change. Do not use a permanent redirect for a destination that will soon change back.

_02_Choose the right redirect workflow

## Redirect aliases when content URLs change

Drupal's Redirect module supports manual mappings and can maintain a canonical path by redirecting alternate requests to it. If Pathauto generates aliases, Redirect's setting "Automatically create redirects when URL aliases are changed." (on by default in the module's install config) creates a redirect from the old alias when an [entity](/glossary/entity)'s path changes. Find it at `/admin/config/search/redirect/settings`. This is especially useful when migrating content or changing a URL pattern across a content type.

Change

### One editorial URL changed

Workflow

Create a manual mapping from the former alias to the new canonical path.

Validation

Request the old URL directly and check the final destination.

Change

### Pathauto pattern or alias changed

Workflow

Keep "Automatically create redirects when URL aliases are changed." enabled so changed aliases retain old paths.

Validation

Change a test entity alias and confirm the former alias resolves.

Change

### Alternative Drupal paths resolve to one preferred path

Workflow

Review Redirect's "Enforce clean and canonical URLs." setting, which redirects to the [canonical URL](/glossary/canonical-url) of a page, including an existing alias, no [trailing slash](/glossary/trailing-slash) and a language prefix.

Validation

Check aliases, language prefixes, and canonical tags to avoid duplicate route variants.

Change

### A large batch of old paths needs review

Workflow

Create explicit mappings and review the source and target list before deployment.

Validation

Sample each content type and flag missing or unrelated replacements.

- Use the closest relevant destination. Redirecting many old URLs to one irrelevant destination such as the home page can confuse users, and Google says it might be treated as a [soft 404](/glossary/soft-404).
- Map each source straight to its final destination. [Googlebot](/ai-crawlers/googlebot) can follow up to 10 hops in a redirect chain, but Google advises redirecting to the final destination directly. If the destination has moved again, update the old mapping instead of adding another hop.
- Keep redirects for old URLs that still receive links or traffic; remove obsolete rules only after checking access logs and migration requirements.
- For language-aware sites, verify that a path from one language resolves to its intended language version rather than silently dropping the language prefix.

_03_How it works

## Use 404 logs to find redirects worth adding

The Redirect project includes a Redirect 404 submodule that "logs 404 errors and allows users to create redirects for often requested but missing pages." It needs the Views module, and its Fix 404 pages screen is at `/admin/config/search/redirect/404`, listing Path, Count and Last accessed with an Add redirect action. The logged-row limit defaults to 10000. Treat the log as a triage list: bots request random URLs, and not every 404 deserves a redirect. Prioritize old URLs from a migration, [internal links](/glossary/internal-links), external [backlinks](/glossary/backlinks), or landing pages with meaningful traffic.

For the search implications of permanent moves, see [301 redirects and Google Search](/glossary/301-redirect). Use [redirect chain checks](/seo-issues/redirect-chains) to catch avoidable hops after a migration.

1. 01

### Separate real old URLs from noise

Review referring page, request frequency, and whether the path once existed. Ignore random probes and malformed paths unless they expose an underlying routing issue.
2. 02

### Find a relevant replacement

Search for an equivalent current page or restore the missing content. If no useful replacement exists, leave a genuine not-found response rather than redirecting to an unrelated page.
3. 03

### Create and test the mapping

Add the redirect, then request the source path without being logged in. Verify the status, `Location` target, final response, and language or query behavior that matters to the old URL.
4. 04

### Fix the source link

Update Drupal menus, body links, XML sitemaps, and campaign links to point to the final URL. Redirects should catch old references rather than power current navigation.

_04_A migration check that catches common failures

## Verify behavior after deployment

Test

### Former URL

Expected result

One redirect to the relevant destination.

Test

### Destination

Expected result

A successful response with the intended canonical URL.

Test

### Old internal links

Expected result

Updated to link directly to the destination.

Test

### Removed page without replacement

Expected result

A meaningful 404 or 410 response, not a generic homepage redirect.

Test

### Language and query variants

Expected result

Correct behavior for the site's actual URL structure, with no loop or dropped locale.

After an important move, inspect the old and new URLs in Search Console and monitor server logs for remaining requests to the old path. Google needs to recrawl redirects; module configuration alone does not update search results immediately.

Sources · 5

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- drupalcode.org
- drupal.org
- google.com

1. 01 [Redirect README, settings form and 404 submodule | Drupal.org](https://git.drupalcode.org/project/redirect/-/blob/8.x-1.x/README.txt) git.drupalcode.org · checked 2026-10-24
2. 02 [Drupal.org release history feed (Redirect)](https://updates.drupal.org/release-history/redirect/current) updates.drupal.org · checked 2026-10-24
3. 03 [Pathauto README | Drupal.org](https://git.drupalcode.org/project/pathauto/-/blob/8.x-1.x/README.md) git.drupalcode.org · checked 2026-10-24
4. 04 [Redirects and Google Search | Google Search Central](https://developers.google.com/search/docs/crawling-indexing/301-redirects) developers.google.com · checked 2026-10-24
5. 05 [Site Moves and Migrations | Google Search Central](https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes) developers.google.com · checked 2026-10-24

Questions

## Asked a lot.

4 questions people ask next, answered from the sources on this page.

_01_ Does the Drupal Redirect module work with Drupal 10 and 11?

Release 8.x-1.13 lists compatibility with Drupal ^10 and ^11. Confirm the project page for the current supported release before installing.

_02_ How do I install Redirect in Drupal?

Run `composer require 'drupal/redirect:^1.13'` for a Drupal 10/11 site, then enable the module and manage redirects at `/admin/config/search/redirect`.

_03_ Can Drupal automatically redirect old Pathauto aliases?

Yes. Redirect's setting "Automatically create redirects when URL aliases are changed." is on in its default config, so changing a Pathauto alias creates a redirect from the old one. Test with a representative content alias.

_04_ Should every Drupal 404 get a redirect?

No. Redirect old URLs with a useful equivalent destination. Random bot requests and deleted pages without replacements can remain genuine 404 or 410 responses.

## Keep learning

[All platform guides](/seo)

[Learn Drupal SEO Content management systems](/seo/drupal) [Related Redirect chains Redirects](/seo-issues/redirect-chains) [Read next Drupal maintenance mode and SEO Content management systems](/seo/drupal/maintenance-mode) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in platform guides
[Drupal SEO](/seo/drupal)

More in Drupal SEO
[Drupal maintenance mode and SEO](/seo/drupal/maintenance-mode) [Drupal robots.txt](/seo/drupal/robots-txt) [Drupal URL redirects](/seo/drupal/redirects) [Drupal XML sitemap](/seo/drupal/xml-sitemap)

Terms on this page
[301 redirect](/glossary/301-redirect) [Entity](/glossary/entity) [Canonical URL](/glossary/canonical-url) [Trailing slash in URLs](/glossary/trailing-slash) [Soft 404](/glossary/soft-404) [Internal links](/glossary/internal-links) [Backlinks](/glossary/backlinks)

Free · 2 minutes

## Tools point. Agencies advise. _This one ships._

Run the free audit, then approve the fixes. Every change can be undone.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **0→7** ChatGPT citations in six weeks Paylane
