[英]How to create different links for one page with realurl?
Is it possible to produce two different speaking urls for one TYPO3 page using realurl? 是否可以使用realurl为一个TYPO3页面生成两个不同的发言网址?
I've got a page that has title=News1 and nav_title=NI001 我有一个标题= News1和nav_title = NI001的页面
With Apache2, TYPO3 7.6.18 and realurl 2.2.0 configured with almost default values I get the following link: 使用Apache2,TYPO3 7.6.18和realurl 2.2.0配置了几乎默认值,我得到以下链接:
domain/level1/level2/year1/NI001.html
and of course 而且当然
domain/index.php?id=XXX
This is the default behaviour and this is fine so far. 这是默认行为,到目前为止这很好。 Now what I would like to know is, if it is possible to get these three different links produced with realurl all pointing to the same page:
现在我想知道的是,如果有可能使用realurl生成的这三个不同链接都指向同一页面:
domain/level1/level2/year1/News1.html
domain/NI001.html
and of course 而且当然
domain/index.php?id=XXX
Now there is one more point. 现在还有一点。 I've got the pages in different levels.
我有不同级别的页面。 So I'll have to be able to handle this situation:
所以我必须能够处理这种情况:
domain/level1/level2/year1/News1.html
domain/level1/level2/year2/News2.html
domain/level1/year3/News3.html
as 如
domain/NI001.html
domain/NI002.html
domain/NI003.html
Could a special combination of realurl and .htaccess help us with this problem? realurl和.htaccess的特殊组合可以帮助我们解决这个问题吗?
Quote from Dmitry Dulepov: 引自德米特里·杜莱波夫:
It is essential to understand these two points, so here they are again:
理解这两点至关重要,所以这里又是:
- Realurl only encodes what it gets from TYPO3
Realurl只对从TYPO3获得的内容进行编码
- Realurl has no way to know whether the URL is correct or not.
Realurl无法知道URL是否正确。 It always encodes it as is and passes the encoded version back to TYPO3.
它始终按原样对其进行编码,并将编码后的版本传递回TYPO3。
https://github.com/dmitryd/typo3-realurl/wiki/Notes-for-Integrators#realurl-does-not-work https://github.com/dmitryd/typo3-realurl/wiki/Notes-for-Integrators#realurl-does-not-work
So the answer is no. 所以答案是否定的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.