Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Typo3 Realurl urlcache被gclid参数搞砸了_Typo3_Google Ads Api_Realurl - Fatal编程技术网

Typo3 Realurl urlcache被gclid参数搞砸了

Typo3 Realurl urlcache被gclid参数搞砸了,typo3,google-ads-api,realurl,Typo3,Google Ads Api,Realurl,我们在一些活动中使用Google Adwords,在URL中添加gclid=xxxxx参数。 不幸的是,这会弄乱RealUrl表,下次调用页面时会导致404错误 有没有办法让RealUrl忽略此特定参数?转到安装工具,将参数添加到[FE][cHashExcludedParameters]自RealUrl 2以来,有一种新的可能性可以控制tx\u RealUrl\u urldata的条目: 它就像一个魔咒,直到今天才知道这个选项甚至存在。这被称为在GitHub上解决的问题: 无论如何,我仍然有

我们在一些活动中使用Google Adwords,在URL中添加
gclid=xxxxx
参数。 不幸的是,这会弄乱RealUrl表,下次调用页面时会导致404错误


有没有办法让RealUrl忽略此特定参数?

转到安装工具,将参数添加到
[FE][cHashExcludedParameters]
自RealUrl 2以来,有一种新的可能性可以控制tx\u RealUrl\u urldata的条目:


它就像一个魔咒,直到今天才知道这个选项甚至存在。

这被称为在GitHub上解决的问题:

无论如何,我仍然有一个问题,gclid触发一个urldata条目,从而导致重定向循环。目前,我通过从ignoredGetparameters过滤器中移除gclid,然后禁用它来解决此问题:

        'cache' => array( // removed gclid from the filter, then ban it
            'ignoredGetParametersRegExp' => '/^(?:utm_[a-z]+|pk_campaign|pk_kwd|TSFE_ADMIN_PANEL.*)$/'
            'banUrlsRegExp' => '/gclid|tx_solr|tx_indexed_search|(?:^|\?|&)q=/',
        ),

谢谢你的回复。我在安装工具中添加了«gclid»-让我们看看它是否有用;)嗯,这似乎没有什么帮助-tx_realurl_urldata正在不断增长…是否也有针对Typo3 V9的解决方案?非常感谢。
        'cache' => array( // removed gclid from the filter, then ban it
            'ignoredGetParametersRegExp' => '/^(?:utm_[a-z]+|pk_campaign|pk_kwd|TSFE_ADMIN_PANEL.*)$/'
            'banUrlsRegExp' => '/gclid|tx_solr|tx_indexed_search|(?:^|\?|&)q=/',
        ),