---
title: "realurl ohne / am Ende"
url: "https://www.typo3.net/d/78047-realurl-ohne-am-ende"
source: "typo3.net"
tags: ["Extensions","Frage","RealURL","URLs & Routing"]
created: "2008-06-04"
last_reply: "2017-04-09"
replies: 7
solved: false
page: 1
pages: 1
lang: "de"
---

# realurl ohne / am Ende

Extensions · 7 Antworten · gestartet 2008-06-04

## Eröffnungsbeitrag

**bluepix** · 2008-06-04 · [Beitrag #1](https://www.typo3.net/d/78047-realurl-ohne-am-ende/1)

Hallo,

habe realurl installiert und funktioniert auch soweit. Gerne würde ich das Ausssehen noch etwas modifizieren.

Derzeit erscheint nach jeder URL noch ein Slash:
<http://www.meinedomain.de/>
<http://www.meinedomain.de/impressum/>

folgendermaßen soll es werden
http:/www.meindedomain.de
<http://www.meinedomain.de/impressum>

Ist das irgendie möglich? Danke für eine Antwort.

## Antworten

### [#2](https://www.typo3.net/d/78047-realurl-ohne-am-ende/2) · just2b · 2008-06-04

deine realurl conf postest du wohl absichtlich nicht.

<http://wiki.typo3.org/index.php/EXT/realurl/manual> > appendMissingSlash

georg

### [#3](https://www.typo3.net/d/78047-realurl-ohne-am-ende/3) · bluepix · 2008-06-04

Hallo,

wenn ich *'appendMissingSlash' => 'ifNotFile',* auskommentiere, bleibt der Slash trotzdem.

Meine localconf für realurl:

```typoscript
<?php
$TYPO3_CONF_VARS['SC_OPTIONS'] ['t3lib/class.t3lib_tstemplate.php'] ['linkData-PostProc'] [] = 

'EXT:realurl/class.tx_realurl.php:&tx_realurl->encodeSpURL';
$TYPO3_CONF_VARS['SC_OPTIONS'] ['tslib/class.tslib_fe.php'] ['checkAlternativeIdMethods-PostProc'] [] = 

'EXT:realurl/class.tx_realurl.php:&tx_realurl->decodeSpURL';
$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']['_DEFAULT'] = array(

         'init' => array (
								'useCHashCache' => 0,
                'enableCHashCache' => 1,
                'respectSimulateStaticURLs' => 1,
   		/*'appendMissingSlash' => 'ifNotFile',*/            
                'enableUrlDecodeCache' => 1,
                'enableUrlEncodeCace' => 1,
        ),

         'redirects' => array(
         ),
         /* 'rewrite' => array(
         ), */

       'preVars' => array (
              
              
        ),

         'pagePath' => array (
                'type' => 'user',
                'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
                'spaceCharacter' => '_',
                'languageGetVar' => 'L',
                'expireDays' => 7,
                'rootpage_id' => '1',
        ),

/*        'fileName' => array (
                'defaultToHTMLsuffixOnPrev' => 1,
                'index' => array(
                        'index.html' => array(
                                'keyValues' => array (
                                        'type' => 1,
                                ),
                        ),
                ),
        ),
*/        

         'fixedPostVarSets' => array(
        ),

        'postVarSets' => array(
                '_DEFAULT' => array(
					'album' => array(
						array(
							'GETvar' => 'tx_cegallery_pi1[album]',
							'lookUpTable' => array(
								'table' => 'tx_dam_cat',
								'id_field' => 'uid',
								'alias_field' => 'title',
								'addWhereClause' => ' AND NOT deleted',
								'useUniqueCache' => 1,
								'useUniqueCache_conf' => array(
									'strtolower' => 1,
									'spaceCharacter' => '-',
								),
							),
						)
					),
					'detail' => array(
						array(
							'GETvar' => 'tx_cegallery_pi1[detail]',
							'lookUpTable' => array(
								'table' => 'tx_dam',
								'id_field' => 'uid',
								'alias_field' => 'title',
								'addWhereClause' => ' AND NOT deleted',
								'useUniqueCache' => 1,
								'useUniqueCache_conf' => array(
									'strtolower' => 1,
									'spaceCharacter' => '-',
								),
							),
						)
					),
					'albumpage' => array(
						array('GETvar' => 'tx_cegallery_pi1[apage]')
					),

                ),
        ),
);





?>
```

### [#4](https://www.typo3.net/d/78047-realurl-ohne-am-ende/4) · einpraegsam.​net · 2008-06-04

z.B.:

```php
'fileName' => array (
		'defaultToHTMLsuffixOnPrev' => 1,
        'index' => array(
            'barrierefrei.html' => array(
                'keyValues' => array(
					'type' => 96,
                )
            ),
            'print.html' => array(
                'keyValues' => array(
					'type' => 94,
                )
            ),
		),
    ),
```

### [#5](https://www.typo3.net/d/78047-realurl-ohne-am-ende/5) · bluepix · 2008-06-04

Hallo einpraegsam.net,

diese Möglichkeit führt  nicht zu meinem Ziel. Es wird nur ein .html angehängt. Das soll aber nicht, sondern gerne möchte ich nur das / weg.

### [#6](https://www.typo3.net/d/78047-realurl-ohne-am-ende/6) · adventuremaker · 2008-06-04

Dann lass bei dem Dateinamen ('fileName') doch das ".html" weg.

Geht das nicht?

### [#7](https://www.typo3.net/d/78047-realurl-ohne-am-ende/7) · bluepix · 2008-06-04

Hallo adventuremaker,

das führt auch nicht zum Ziel, das / bleibt.

### [#8](https://www.typo3.net/d/78047-realurl-ohne-am-ende/8) · danaron · 2017-04-09

nimm für alle mit / diesen Code:
		'appendMissingSlash' => 'ifNotFile,redirect[301]',
ist auch gut für Dublicate Content bei Google.
Bei mir wird dan aus de/seite direkt de/seite/

---

Quelle: „realurl ohne / am Ende“, typo3.net, https://www.typo3.net/d/78047-realurl-ohne-am-ende
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
