CanonicalizationUtility

class \TYPO3\CMS\Frontend\Utility\CanonicalizationUtility

Table of Contents

Methods

getParamsToExcludeForCanonicalizedUrl()  : array
Get all params that are not needed to determine a canonicalized URL

Methods

getParamsToExcludeForCanonicalizedUrl()

Get all params that are not needed to determine a canonicalized URL

public static getParamsToExcludeForCanonicalizedUrl(int $pageId[, array $additionalCanonicalizedUrlParameters = [] ][, ServerRequestInterface|null $request = null ]) : array

The format of the additionalCanonicalizedUrlParameters is: $parameters = [ 'foo', 'bar', 'foo[bar]' ]

Parameters

$pageId : int

Id of the page you want to get the excluded params

$additionalCanonicalizedUrlParameters : array = []

Which GET-params should stay besides the params used for cHash calculation

$request : ServerRequestInterface|null = null

Return values

array
On this page