Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Domain 301 Redirect

Security covered Maintenance fixes only 1,227 sites

Part of the Domain ecosystem · 53 projects

This module automatically redirects traffic from any domain to a designated main domain, preserving the original URL path. This is beneficial for SEO by consolidating traffic to a single preferred domain.

The Domain 301 Redirect module allows sites to 301 redirect to a domain that is marked as the main domain. This means you can have all subdomains and other domains pointing to the site 301 redirect to a domain that you choose as the main domain. This provides great SEO benefit.

Examples:

With the main domain set as http://www.example.com the following redirections
would take place:

  1. http://example.com/user/1 -> http://www.example.com/user/1
  2. http://mydomain.com/content/2 -> http://www.example.com/content/2
  3. http://www.mydomain.com/somepage -> http://www.example.com/somepage

As you can see from the examples, the path remains in tact but the host portion
of the URL changes.

Drupal 9–11

Ask your assistant about Domain 301 Redirect

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • path_alias Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Jul 2024
Latest release
1 month ago
Releases (12 mo)
2 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.0.7 Stable 9–11 Sep 2, 2026
2.0.6 Stable 9–11 Aug 11, 2026
2.0.5 Stable 9–11 Feb 19, 2025
2.0.4 Stable 9–11 Jul 5, 2024