Zum Inhalt springen

RealURL setzt alle Links als .html

Erstellt am 4. Juni 2008 · 2 Antworten · letzte Antwort am 5. Juni 2008

Tags: RealURL, Frage

HollyHollmann ·

Hallo erstmal!

Ich habe folgendes Problem und hoffe Ihr könnt mir helfen:

Ich hab kürzlich RealURL installiert und anfangs lief auch alles bestens.

Doch nun werden alle Links im Menü einfach nur noch als ".html" gesetzt.
Also sehen die Links so aus "http://www.meinurl.de/.html
Und wenn man darauf klickt erscheint logischerweise ein 403.

so sehen meine Einstellungen aus:

TS

config {
	simulateStaticDocuments = 0
	baseURL = http://www.meinurl.de/typo3/
	tx_realurl_enable = 1
	prefixLocalAnchors = all
}

.htacces

RewriteEngine On
Options +FollowSymLinks

RewriteBase /

RewriteRule ^typo3$ - [L]
RewriteRule ^typo3/.*$ - [L]

RewriteRule ^(typo3|banner|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

#RewriteRule .* index.php

und so die ext.localconf.php

<?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,alias,nav_title,title';

$TYPO3_CONF_VARS['EXTCONF'] ['realurl'] ['_DEFAULT'] = array(

        'init' => array(
                'enableCHashCache' => 1,
                 'appendMissingSlash' => 'ifNotFile',
                 'enableUrlDecodeCache' => 1,
                'enableUrlEncodeHash' => 1,
                // 'postVarSet_failureMode' => 'redirect_goodUpperDir',
        ),

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

        'preVars' => array(
                /*                                 array(
                        'GETvar' => 'no_cache',
                        'valueMap' => array(
                                'nc' => 1,
                        ),
                        'noMatch' => 'bypass',
                ),   */
                 /*
                array(
                        'GETvar' => 'L',
                        'valueMap' => array(
                                'de' => '0',
                                'en' => '1',
                        ),
                        'valueDefault' => 'de',
                ),
                */
        ),

         'pagePath' => array(
                'type' => 'user',
                'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
                'spaceCharacter' => '-',
                'languageGetVar' => 'L',
                // 'firstHitPathCache' => 1,
                 'expireDays' => 3,
                // ------------> hier unbedingt die id der Rootseite anpassen!!! <------------
                'rootpage_id' => '1'
        ),

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

         'fixedPostVarSets' => array(
        ),

        'postVarSets' => array(
        ),
);
?>

Ich weiß echt nciht weiter!

Vielen Dank schon einmal für die Hilfe!

MFg

Holly

HollyHollmann ·

HAllo.

Danke erstmal.

HAt aber leider nciht geklappt.

Er gibt die Links immer noch wie vorher aus...

Naja ich hab die extension einfach neuinstalliert..nu funktionierts..mit der ursprungs ext_localconf.php die bei der ext dabei is..