Stefan Padberg
Stefan Padberg

Reputation: 527

TYPO3 V9: Howto omit special characters in URL?

The routes for tx_news are configured and working fine. Now I have a category called "Local Development" which results in an URL like:

[https://example.com/category/Local Development]

How can the space be ommited?

Also Umlaut and other special characters are transfered as they are to the URL:

[https://example.com/category/Bürgerbegehren]

Is it a bug? Or can it be omited by configuration?

Upvotes: 0

Views: 181

Answers (1)

Christoph Kern
Christoph Kern

Reputation: 469

Without you providing your configuration and currently used version of tx_news, I can only make assumptions.

You maybe simply configured your "routFieldName" for your "category-name" to select from "title" field.

Since tx_news 7.1 there is a added field called "slug" in "sys_category" which contains the "url-friendly" varian of your category-title.

Upvotes: 1

Related Questions