寻找以TYPO3 7.6.4和Realurl2.0.14为合作伙伴的解决方案。
在为标题中带有“in”符号的新闻条目构建朗读URL时,URL会处理此字符并生成一个“井号”字符串。
新闻标题:当地慈善机构500£发言网址: news/pound500- For - Local -charity
有没有办法阻止这一过程。
我希望urls是: news/500-for-local-charity
在我的realurl_conf.php
'enableCHashCache' => true,
'adminJumpToBackend' => true,
'enableUrlDecodeCache' => true,
'enableUrlEncodeCache' => true,
'enableAllUnicodeLetters' => true,
'doNotRawUrlEncodeParameterNames' => true,
'appendMissingSlash' => 'false',
'emptyUrlReturnValue' => '/'是否有类似的问题或解决方案建议?
发布于 2017-03-02 19:02:55
在realurl1中,pagePath下有一个选项encodeTitle_userProc。有了它,就可以用userFunction处理标题并删除一些你想要的实体。
在realurl 2文档中,我再也找不到这个选项了,但我希望它仍然存在。但在preVars、fixedPostVars和postVarSets下,这个选项似乎仍然可用:https://github.com/dmitryd/typo3-realurl/wiki/Configuration-reference#lookuptable
关于这一点的德国文章:http://blog.teamgeist-medien.de/2015/10/typo3-realurl-html-tags-aus-der-url-entfernen.html
编辑:另一个选项是在页面选项中使用realurl别名/覆盖realurl路径选项(我猜新闻扩展也有这个选项)。
https://stackoverflow.com/questions/42552507
复制相似问题