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:
- http://example.com/user/1 -> http://www.example.com/user/1
- http://mydomain.com/content/2 -> http://www.example.com/content/2
- 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.
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.
More in the Domain ecosystem
Most installed first