2017-03-02 114 views
0

尋找TYPO3 7.6.4和realurl 2.0.14是合作伙伴的解決方案。從realurl中刪除£

在爲標題中帶有'£'符號的新聞條目構建發言網址時,這些網址會處理此字符併產生「磅」字符串。

新聞標題:£500爲當地的慈善 講網址:新聞/ pound500爲當地的慈善機構

有沒有辦法來阻止這種處理。

我期待的網址是:新聞/ 500爲當地的慈善機構

在我realurl_conf.php

'enableCHashCache'    => true, 
'adminJumpToBackend'    => true, 
'enableUrlDecodeCache'   => true, 
'enableUrlEncodeCache'   => true, 
'enableAllUnicodeLetters'   => true, 
'doNotRawUrlEncodeParameterNames' => true, 
'appendMissingSlash'    => 'false', 
'emptyUrlReturnValue'    => '/' 

任何類似的問題或解決方案的建議?

回答

0

在realurl 1中,作爲pagePath下的encodeTitle_userProc選項。有了這個可以使用userFunction處理標題,並刪除一些你想要的實體。

在realurl 2 doc中我找不到這個選項,但我希望它仍然存在。但在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路徑(猜新聞延伸也有這個選項)。