If the node set as the site's front page has an URL alias (and it has to have one in some cases, like the one I face), then the front page exists both s http://example.com and http://example.com/alias. I would expect this to be tackled by the excellent Global Redirect, hence this feature request. Thanks!

Comments

amoutiers’s picture

The canonical tag is wrong too

jdleonard’s picture

There's also an issue for this for d7: #1018684: Redirect example.com/[frontpage] to example.com

nicholasThompson’s picture

Version: 6.x-1.2 » 6.x-1.x-dev
Status: Active » Needs review

I have added a feature in 6.x-dev which allows you to disable frontpage redirecting (which allows a node to exist on both and /node/123 (or /alias)). Is this the kind of thing you were looking for?

Vacilando’s picture

I have tested that with "Frontpage Redirect Handler" enabled -- and it is rightfully enabled by default -- front page paths like "node/1" but also their aliases like "home" properly redirect to the site's root.

I however recommend a clearer (if longer) explanation under that checkbox; perhaps something like this:
If enabled, any request to the frontpage path will redirect to the site root. Whatever you set as the path to the front page at /admin/settings/site-information, e.g. "node" or "node/1", but also its alias (e.g. in case you have set "node/1" as your home page but that page also has an alias "home") -- all such cases will redirect to your root domain (e.g. "http://example.com").

nicholasThompson’s picture

Status: Needs review » Fixed

@Vacilando - committed. Cheers for the improved text. I didn't use it verbatum, but the essence is there. This was added to both D6 and D7.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.