Urs
Urs

Reputation: 5132

TYPO3 tx_news: How to remove "News" from RealURL path

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/

Upvotes: 0

Views: 1950

Answers (1)

tmt
tmt

Reputation: 8654

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.

Upvotes: 2

Related Questions