Вопрос

I have configured RealURL and tx_news in TYPO3 6.x according to the basic setup from the manual.

The generated URL for a single view is:

http://www.domain.com/news/detail/News/title-of-news/

That's quite ok - but how to remove the second, uppercase "News" from the URL, to make it look like this?:

http://www.domain.com/news/detail/title-of-news/
Это было полезно?

Решение

You have to switch from using postVarSets configuration (which uses a keyword in the URL to identify how to process the values in the URL that follow) to fixedPostVars configuration which is based on the page UID. That's its slight drawback - you have to set the page UIDs in the RealURL config which means that it can be done only by an admin.

See the Advanced example in the manual that you posted yourself.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top