Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

optimize addQueryString.exclude for canonical URLs #54

Open
hannesbochmann opened this issue Mar 17, 2017 · 0 comments
Open

optimize addQueryString.exclude for canonical URLs #54

hannesbochmann opened this issue Mar 17, 2017 · 0 comments

Comments

@hannesbochmann
Copy link

hannesbochmann commented Mar 17, 2017

The link which is created for the canonical URL should have the cHash and L parameter excluded. (see this post from Dimitry Dulepov)

Otherwise every L parameter could be added to URLs created by TYPO3 which than leads to an exception in realurl. But that's not exactly the problem. After all it's just a wrong configuration to not exclude the L parameter when having multiple languages. config.linkVars should be configured correct and TYPO3 will take care of adding the L parameter to links if the parameter is valid.

Excluding the "L" and "cHash" parameter should not lead to a problem.

(happens in UrlService::getCanonicalUrl())

Is it possible to add those two parameters?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant