在Typo3中,如果语言被更改,我会重定向到其他域。现在,我想保留页面ID。
所以我试试看:
[globalVar = GP:L = 0]
config.additionalHeaders = HTTP/1.1 301 Permanent Redirect | Location: http://www.example.com/index.php?id={page:uid}
[globalVar = GP:L = 2]
config.additionalHeaders = HTTP/1.1 301 Permanent Redirect | Location: http://www.example.co.uk/index.php?id={page:uid}
[globalVar = GP:L = 4]
config.additionalHeaders = HTTP/1.1 301 Permanent Redirect | Location: http://www.example.de/index.php?id={page:uid}
[global]
但是{page:uid}在重定向中没有被替换。 {TSFE:id}也不起作用。
出了什么问题?