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