---
title: "tx_news und REALURL"
url: "https://www.typo3.net/d/114346-tx-news-und-realurl"
source: "typo3.net"
tags: ["Extensions","Frage","RealURL","tx_news"]
created: "2013-03-27"
last_reply: "2013-07-31"
replies: 2
solved: false
page: 1
pages: 1
lang: "de"
---

# tx_news und REALURL

Extensions · 2 Antworten · gestartet 2013-03-27

## Eröffnungsbeitrag

**JCreeper** · 2013-03-27 · [Beitrag #1](https://www.typo3.net/d/114346-tx-news-und-realurl/1)

Hallo,

ich benutze die News Ext von Georg Ringer.
Leider bekomme ich die URL nicht so hin, wie ich sie gerne hätte
www.domain/artikel/category/das-ist-die-seite.html

Kann mir hierbei jemand helfen?!

realurl_conf.php

```php
<?php

if (!defined('TYPO3_MODE'))
    die('Access denied.');

$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl'] = array(
    '_DEFAULT' => array(
        'init' => array(
            'enableCHashCache' => '1',
            'appendMissingSlash' => 'ifNotFile',
            'enableUrlDecodeCache' => '1',
            'enableUrlEncodeCache' => '1',
        ),
        'redirects' => array(
        ),
        'preVars' => array(
            '0' => array(
                'GETvar' => 'no_cache',
                'valueMap' => array(
                    'nc' => '1',
                ),
                'noMatch' => 'bypass'
            ),
            '1' => array(
                'GETvar' => 'L',
                'valueMap' => array(
                    'de' => '0',
                    'en' => '1',
                    'nl' => '2',
                ),
                'noMatch' => 'bypass',
            ),
            '2' => array(
                'GETvar' => 'lang',
                'valueMap' => array(
                    'de' => 'de',
                ),
                'noMatch' => 'bypass',
            ),
        ),
        'pagePath' => array(
            'type' => 'user',
            'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
            'spaceCharacter' => '-',
            'languageGetVar' => 'L',
            'expireDays' => '7',
            'rootpage_id' => '1',
        ),
        'fixedPostVars' => array(
        ),
        'postVarSets' => array(
            '_DEFAULT' => array(
                'news' => array(
        array(
                'GETvar' => 'tx_news_pi1[action]',
        ),
        array(
                'GETvar' => 'tx_news_pi1[controller]',
        ),
        array(
                'GETvar' => 'tx_news_pi1[news]',
                'lookUpTable' => array(
                        'table' => 'tx_news_domain_model_news',
                        'id_field' => 'uid',
                        'alias_field' => 'title',
                        'addWhereClause' => ' AND NOT deleted',
                        'useUniqueCache' => 1,
                        'useUniqueCache_conf' => array(
                                'strtolower' => 1,
                                'spaceCharacter' => '-',
                        ),
                        'languageGetVar' => 'L',
                        'languageExceptionUids' => '',
                        'languageField' => 'sys_language_uid',
                        'transOrigPointerField' => 'l10n_parent',
                        'autoUpdate' => 1,
                        'expireDays' => 180,
								),
						),
				),
            ),
        ),
        'fileName' => array(
            'defaultToHTMLsuffixOnPrev' => true,
            'index' => array(
                'rss.xml' => array(
                    'keyValues' => array(
                        'type' => '100',
                    ),
                ),
                'rss091.xml' => array(
                    'keyValues' => array(
                        'type' => '101',
                    ),
                ),
                'rdf.xml' => array(
                    'keyValues' => array(
                        'type' => '102',
                    ),
                ),
                'atom.xml' => array(
                    'keyValues' => array(
                        'type' => '103',
                    ),
                ),
                'sitemap.xml' => array(
                    'keyValues' => array(
                        'type' => '776',
                    ),
                ),
            ),
        ),
    ),
);

?>
```

## Antworten

### [#2](https://www.typo3.net/d/114346-tx-news-und-realurl/2) · mistermax · 2013-07-31

Hast du mittlerweile eine Lösung gefunden?

### [#3](https://www.typo3.net/d/114346-tx-news-und-realurl/3) · mistermax · 2013-07-31

Schau, ob 'rootpage_id' => '1' stimmt. Und die Zeile mit der id der Einzelansicht fehlt: 'id' => 'newsDetailConfiguration'. Hier, ich hatte das gleiche Problem: [/d/115598-tx-news-ignoriert-realurl-konfiguration](https://www.typo3.net/d/115598-tx-news-ignoriert-realurl-konfiguration)

---

Quelle: „tx_news und REALURL“, typo3.net, https://www.typo3.net/d/114346-tx-news-und-realurl
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
