문제

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

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top