Question

I have the problem to structure a site not just to a language but also do separate the content for different countries. Especially the meta tag for "lang" should be set different for every country. No my idea is to introduce a new GET Parameter "country" and define it as preVar in the real url config.

Now my question. Is there a way to force this GET Parameter in every link which gets rendered with the TypoLink function?

Thanks in advance.

Matthias

Était-ce utile?

La solution

I think you are searching for the config.linkVars option. To set a default for the parameter, you can use config.defaultGetVars, or let RealURL do it.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top