It would be useful for when making URLs as short as possible if the "www." could be removed from the hostname.

Comments

mgifford’s picture

Sometimes 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.

damienmckenna’s picture

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?

mably’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

This 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.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.