Settings

File Canonical provides some extension settings, you can adjust:

Extension configuration

Basic

Property Type Default
fileStorageUid integer 0
autoCreateFileCanonicalFromReferer boolean false
respectRefererQueryString boolean false

File storage UID

Property

fileStorageUid

Data type

integer

Default

0

Description

The UID of file storage to be used.

Automatically create file canonical from referer

Property

autoCreateFileCanonicalFromReferer

Data type

boolean

Default

false

Description

Adds canonical link for file automatically from HTTP referer, when enabled and when “canonical_link_parsed” field is empty.

Respect HTTP referer’s query string

Property

respectRefererQueryString

Data type

boolean

Default

false

Description

If enabled, also the query string is used for canonical link. It is recommended, to keep this option disabled and provide proper routing configuration instead.