---
title: "Real URl und Links der zweiten Ebene"
url: "https://www.typo3.net/d/49214-real-url-und-links-der-zweiten-ebene"
source: "typo3.net"
tags: ["Extensions","Frage","RealURL"]
created: "2006-09-02"
last_reply: "2006-09-02"
replies: 0
solved: false
page: 1
pages: 1
lang: "de"
---

# Real URl und Links der zweiten Ebene

Extensions · 0 Antworten · gestartet 2006-09-02

## Eröffnungsbeitrag

**philipphh** · 2006-09-02 · [Beitrag #1](https://www.typo3.net/d/49214-real-url-und-links-der-zweiten-ebene/1)

Hallo,
habe ein Problem mit RealURL. Habe RealURL praktisch so zum laufen gebracht wie ich mir das vorgestellt habe. Allerdings nur für die erste Menüebene. Die Unterseiten von Home (1,2,3...) werden richtig dargestellt, aber 1.1, 1.2, 1.3 etc. werden nicht dargestellt.

Folgende Seitenstruktur

Home (pid 44)
-Top
--Home (Shortcut zu Home)
--1
---1.1
---1.2
---1.3
--2
--3
--4
--5
-Left
--siehe Top
-Other
--

Not Found
The requested URL /expandgrowth/modelsforgrowth.html was not found on this server.

Kann mir jemand sagen woran das liegen könnte?
Ein weiteres ebenfalls ungelöstes Problem ist, das Top, Left und Other Seiten vom Typ "Nich im Menü" sind. Gibt es eine Möglichkeit diese zu übergehen und aus dem RealURL-Pfad zu nehmen? Im Moment mache ich das noch per Hand im Speaking URL Management. Aber das nervt...

**Localconf**

```php
<?php
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tstemplate.php']['linkData-PostProc']['tx_realurl'] = 'EXT:realurl/class.tx_realurl.php:&tx_realurl->encodeSpURL';
$TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['checkAlternativeIdMethods-PostProc']['tx_realurl'] = 'EXT:realurl/class.tx_realurl.php:&tx_realurl->decodeSpURL';
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearPageCacheEval']['tx_realurl'] = 'EXT:realurl/class.tx_realurl.php:&tx_realurl->clearPageCacheMgm';

$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']['tx_realurl_urldecodecache'] = 'tx_realurl_urldecodecache';
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']['tx_realurl_urlencodecache'] = 'tx_realurl_urlencodecache';

$TYPO3_CONF_VARS['FE']['addRootLineFields'].= ',tx_realurl_pathsegment'; 

$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array( 
    '_DEFAULT' => array( 
        'init' => array( 
            'enableCHashCache' => 1, 
            'appendMissingSlash' => 'ifNotFile', 
            'enableUrlDecodeCache' => 1, 
            'enableUrlEncodeCache' => 1, 
        ), 
        'redirects' => array(), 
        'preVars' => array( 
            array( 
                'GETvar' => 'no_cache', 
                'valueMap' => array( 
                    'nc' => 1, 
                ), 
                'noMatch' => 'bypass', 
            ), 
            array( 
                'GETvar' => 'L', 
                'valueMap' => array( 
                    'dk' => '2', 
                    'de' => '1', 
                ), 
                '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' => 44, 
        ), 
        'fixedPostVars' => array(), 
        'postVarSets' => array( 
            '_DEFAULT' => array( 
                // news archive parameters 
                'archive' => array( 
                    array( 
                        'GETvar' => 'tx_ttnews[year]' , 
                        ), 
                    array( 
                        'GETvar' => 'tx_ttnews[month]' , 
                        'valueMap' => array( 
                            'januar' => '01', 
                            'februar' => '02', 
                            'maerz' => '03', 
                            'april' => '04', 
                            'may' => '05', 
                            'juni' => '06', 
                            'juli' => '07', 
                            'august' => '08', 
                            'september' => '09', 
                            'oktober' => '10', 
                            'november' => '11', 
                            'dezember' => '12', 
                            ) 
                        ), 
                    ), 
                // news pagebrowser 
                'browse' => array( 
                    array( 
                        'GETvar' => 'tx_ttnews[pointer]', 
                        ), 
                    ), 
                // news categories 
                'select_category' => array ( 
                    array( 
                        'GETvar' => 'tx_ttnews[cat]', 
                        ), 
                    ), 
                // news articles and searchwords 
                'article' => array( 
                    array( 
                        'GETvar' => 'tx_ttnews[tt_news]', 
                        'lookUpTable' => array( 
                            'table' => 'tt_news', 
                            'id_field' => 'uid', 
                            'alias_field' => 'title', 
                            'addWhereClause' => ' AND NOT deleted', 
                            'useUniqueCache' => 1, 
                            'useUniqueCache_conf' => array( 
                                'strtolower' => 1, 
                                'spaceCharacter' => '-', 
                                ), 
                            ), 
                        ), 
                    array( 
                        'GETvar' => 'tx_ttnews[swords]', 
                        ), 
                    ), 
                ), 
            ), 
        // configure filenames for different pagetypes 
        'fileName' => array( 
            'defaultToHTMLsuffixOnPrev' => 1,
            '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, 
                    ), 
                ), 
            ), 
        ), 
    ), 
); 
?>
```

**mod_rewrite.htaccess**

```php
RewriteEngine On
RewriteBase /
RewriteRule ^(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php)/ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)\.html$ /index.php [L]

### End: Rewrite stuff ###
```

**TS Setup**

```typoscript
config.simulateStaticDocuments = 0
config.baseURL = http://www.meinedomain.com/
config.tx_realurl_enable = 1
config.prefixLocalAnchors = all
```

---

Quelle: „Real URl und Links der zweiten Ebene“, typo3.net, https://www.typo3.net/d/49214-real-url-und-links-der-zweiten-ebene
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
