Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
My rationale was to build a way of retaining the site's real URL but shorten it as much as possible - Drupal's .htaccess file comes with lines that allow you to redirect all calls of example.com to www.example.com, which would fit nicely with this.
Alternatively, maybe it should be possible to change what that hostname is with a text field?
Comments
Comment #1
mgiffordSometimes the www. is required. Sometimes the http://www.example.com may be different than http://example.com
However, I agree that it would be useful to have some mechanism to find/remove duplicated content.
Comment #2
damienmckennaMy rationale was to build a way of retaining the site's real URL but shorten it as much as possible - Drupal's .htaccess file comes with lines that allow you to redirect all calls of example.com to www.example.com, which would fit nicely with this.
Alternatively, maybe it should be possible to change what that hostname is with a text field?
Comment #3
mably commentedThis issue was filed against the previous Drupal 6/7 module that used this project namespace.
The namespace has been taken over and the module has been replaced by a completely new and unrelated project for Drupal 10/11.
The original code remains available in the 6.x-1.x branch.
Closing this issue as it no longer applies to the current module.