Project

General

Profile

Actions

Bug #64437

closed

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

Added by Jost Baron almost 10 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2015-01-22
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.5
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.


Files

good-request.png (51.7 KB) good-request.png Jost Baron, 2015-01-22 17:13
bad-request.png (65.8 KB) bad-request.png Jost Baron, 2015-01-22 17:13
Actions

Also available in: Atom PDF