Project

General

Profile

Actions

Bug #51819

closed

Adding extra parameters to generated cHash URLs fails in 6.1.x

Added by Claus Harup over 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Miscellaneous
Target version:
Start date:
2013-09-06
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
Tags:
Complexity:
hard
Is Regression:
No
Sprint Focus:

Description

Having upgrated a site from 4.7 to 6.1 without any problems I find lots of my singleview pages in the 404 section in Google Webmaster Tool because of extra parameters added to the generated URL (Google or Social media).

URLS working in 4.7 (with or without realurl):
www.domain.com/index.php?id=586&tx_tcnews_pi1[newsitem]=45&cHash=3e8dc4f969807ea905cb1768517bcc5a&utm_source=blahblahblah

Having the excact same URL in TYPO3 6.1 gives me a 404 page.

The only thing I am allowed to add to the generated URL is no_cache=1, everything else gives me 404?!?!

Actions #1

Updated by Claus Harup over 10 years ago

I found this parameter pageNotFoundOnCHashError in the Install Tool and set it to 0..... that helped, but can anyone explain the pros and cons for this setting?

Actions #2

Updated by Mario Rimann over 10 years ago

Even if that config option is shown to be "0" when looking at the install-tool, it must also be present in the LocalConfiguration.php file (and set to zero).

Actions #3

Updated by Mathias Schreiber over 9 years ago

  • Target version changed from next-patchlevel to 7.2 (Frontend)
  • Complexity set to hard

indeed....
I think we should allow to define a set of parameters that are to be excluded from cHash calculation and also from the caching entries.
Rather complex, though

Actions #4

Updated by Mathias Schreiber over 9 years ago

  • Status changed from New to Closed

Hey Claus, Mario... check this out:

TYPO3_CONF_VARS[FE][cHashExcludedParameters]

Actions

Also available in: Atom PDF