Issue Bug Closed

#64437Pages with type "external link" don't redirect if requested via google search result

Jost Baron 01/22/15, 17:13 updated 10/19/17, 21:37

Description

On one of my sites, the URL /support.html should redirect to an external URL.

This works fine when the URL is manually entered or clicked in a menu.

However, when the same URL is opened from a google search result, it no redirect occurs. Instead, the page is shown as if it was a normal page.

I’ve logged the HTTP headers for both requests (also attached as screenshots), and there seems to be little difference:

1. The “bad” request has two additional headers: referer and max-age.
2. For the “bad” request, cache control headers are added, these are not returned for the “good” request.

I can’t find the logic where the redirecting between the page types is done in the core. If someone points me to the place, I’ll take a look.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.