typo3-9.x

How can I add a trailing slash to TYPO3 v9 URLs?

纵饮孤独 提交于 2019-12-03 05:18:12
问题 When updating from TYPO3 8.7 to TYPO3 9.5 you might drop the realurl extension in favor for the new routing feature. But you might notice, that realurl appended a / to all urls by default (when you are not using html suffix) The TYPO3 routing feature does not do that by default and there is currently no option in the core to enable this. Why is this a problem? In TYPO3 8.7 you got an URL like www.domain.tld/subpage/. In TYPO3 9.5 the same page be called with the url www.domain.tld/subpage. So

How can I add a trailing slash to TYPO3 v9 URLs?

被刻印的时光 ゝ 提交于 2019-12-02 21:14:38
When updating from TYPO3 8.7 to TYPO3 9.5 you might drop the realurl extension in favor for the new routing feature. But you might notice, that realurl appended a / to all urls by default (when you are not using html suffix) The TYPO3 routing feature does not do that by default and there is currently no option in the core to enable this. Why is this a problem? In TYPO3 8.7 you got an URL like www.domain.tld/subpage/. In TYPO3 9.5 the same page be called with the url www.domain.tld/subpage. So even if this is the same page, for search crawlers, this is another URL. TYPO3 does a 307 redirect

Good practice on how to set up routeEnhancers for list and detail view of ext:news?

守給你的承諾、 提交于 2019-12-02 11:40:46
问题 Precondition The ext:news list view plugin is on page www.domain.com/news [ID 9] and the detail view on www.domain.com/article [ID 39]. Following the official example (docs.typo3.org) I tried the "Extbase Plugin Enhancer" example of the feature description, but that caused some problems: The pagebrowser link to page 2 has a cHash: news/list/2?cHash=123456789 The pagebrowser link from page 2 to page 1 has lots of get-parameters: news?tx_news_pi1%5Baction%5D=list&tx_news_pi1%5Bcontroller%5D

TYPO3 9.5.2 Slug: Multilanguage: Page not found 404 exception, if no translation of page exists

▼魔方 西西 提交于 2019-12-02 05:24:59
问题 I have a website with two languages e.g de and en. De is my default language with no path prefix. En, the second language, has /en/ as prefix in the url. Now when I switch to the en language, the menu item links have /en/ in the url, which is fine. But when I click on a menu item, which is not explicit translated in the backend, then I get a 404 error. I cannot say this behavier is wrong, because there isn't a page with this slug path before I create one. But what should I do? Create a

TYPO3 9.5.2 Slug: Multilanguage: Page not found 404 exception, if no translation of page exists

浪子不回头ぞ 提交于 2019-12-01 23:33:59
I have a website with two languages e.g de and en. De is my default language with no path prefix. En, the second language, has /en/ as prefix in the url. Now when I switch to the en language, the menu item links have /en/ in the url, which is fine. But when I click on a menu item, which is not explicit translated in the backend, then I get a 404 error. I cannot say this behavier is wrong, because there isn't a page with this slug path before I create one. But what should I do? Create a translation for each page, which is not helpful, if there are already hundreds of pages. Is there no fallback