[TYPO3-german] url ohne abschliessenden Slash

Malte Jansen mail at maltejansen.de
Wed Nov 5 13:52:45 CET 2008


Hi!
Ihr müsst folgendes in der .htaccess ergänzen:


RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*)$ // [L,R=301]


Gruß

Malte

Mini schrieb:
> 'appendMissingSlash' => 0,
> http://www.abc.com/thema gibt die Fehlermeldung - Seite nicht gefunden.
> 
>  'appendMissingSlash' => 1,
> http://www.abc.com/thema und http://www.abc.com/thema/
> 
> beide Existieren, sowie Doppelte Inhalte, wie kann man das Verhindern?
> 
> Danke !
> 
> 2008/11/5 BigSebek <bigsebek at gmail.com>
> 
>> Hi,
>>
>> evtl. den Wert: 'appendMissingSlash' => 1 auf 0 setzen ?
>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: typo3-german-bounces at lists.netfielders.de [mailto:typo3-german-
>>> bounces at lists.netfielders.de] Im Auftrag von Rupali
>>> Gesendet: Mittwoch, 5. November 2008 13:18
>>> An: typo3-german at lists.netfielders.de
>>> Betreff: [TYPO3-german] url ohne abschliessenden Slash
>>>
>>> Entschuldigung ! Ich habe schon 2 mal bounce-mail bekommen. deshalb
>>> schreibe
>>> ich noch einmal. Hoffentlich funktioniert es dieses Mal.
>>>
>>> Hi,
>>> Weisst Jemand welche Konfig bewirkt, dass
>>>
>>> 1) eine Seite NUR 'ohne abschliessenden Slash' geladen wird ?
>>> z.B.
>>> gewuenscht: http://www.abc.com/thema
>>> momentan funktioniert  http://www.abc.com/thema/ sowohl auch
>>> http://www.abc.com/thema
>>>
>>> 2) oder:  http://www.abc.com/thema/ weiterleitet zum
>>> http://www.abc.com/thema
>>>
>>> so sieht meine realurl.conf aus:
>>> <?php
>>> $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
>>>         'init' => array(
>>>             'enableCHashCache' => 1,
>>>             'appendMissingSlash' => 1,
>>> .
>>> .
>>> .
>>> .
>>> .
>>>  'fileName' => array(
>>>             'defaultToHTMLsuffixOnPrev'=> 0 ,
>>> ..
>>> .
>>>  php?>
>>>
>>> Gruesse,
>>> Mini
>>> _______________________________________________
>>> TYPO3-german mailing list
>>> TYPO3-german at lists.netfielders.de
>>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-german
>> _______________________________________________
>> TYPO3-german mailing list
>> TYPO3-german at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-german
>>


More information about the TYPO3-german mailing list