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

Was it helpful?

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top