CanonicalizationUtility
class \
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 = [] ]) : 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