[TYPO3-german] RealURL: alte URLs id= gehen nicht mehr

Helga Somann hson at gmx.de
Tue Jul 5 12:16:25 CEST 2016


Hallo,

ich habe unter Typo 7.6.9 nun RealURL 2.0.14 installiert und folgendes Problem:

Es werden nun schöne URLs erzeugt und die funktionieren auch.

Allerdings bin ich darauf angewiesen, dass URLs in der alten Form auch noch funktionieren und das tun sie nicht.
Beim Aufruf von www.mydomain.de/index.php?id=22 wird nicht mehr Seite 22 angezeigt, sondern manchmal die Startseite aber sehr oft auch diese Fehlermeldung:

Segment index.php was not a keyword for a postVarSet as expected!

Ich habe eine realurl_autoconf:

<?php
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl']=array (
  'www.domain2.de' =>
  array (
    'init' =>
    array (
      'appendMissingSlash' => 'ifNotFile,redirect',
      'emptyUrlReturnValue' => '/',
    ),
    'pagePath' =>
    array (
      'rootpage_id' => '55',
    ),
    'fileName' =>
    array (
      'defaultToHTMLsuffixOnPrev' => 0,
      'acceptHTMLsuffix' => 1,
      'index' =>
      array (
        'print' =>
        array (
          'keyValues' =>
          array (
 'type' => 98,
          ),
        ),
      ),
    ),
    'postVarSets' =>
    array (
      '_DEFAULT' =>
      array (
        'tx_news' =>
        array (
          0 =>
          array (
            'GETvar' => 'tx_news_pi1[news]',
            'lookUpTable' =>
            array (
              'table' => 'tx_news_domain_model_news',
              'id_field' => 'uid',
              'alias_field' => 'title',
              'useUniqueCache' => 1,
              'useUniqueCache_conf' =>
              array (
 'strtolower' => 1,
                'spaceCharacter' => '-',
              ),
            ),
          ),
        ),
      ),
    ),
  ),
  'www.domain1.de' =>
  array (
    'init' =>
    array (
      'appendMissingSlash' => 'ifNotFile,redirect',
      'emptyUrlReturnValue' => '/',
    ),
    'pagePath' =>
    array (
      'rootpage_id' => '23',
    ),
    'fileName' =>
 array (
      'defaultToHTMLsuffixOnPrev' => 0,
      'acceptHTMLsuffix' => 1,
      'index' =>
      array (
        'print' =>
        array (
          'keyValues' =>
          array (
            'type' => 98,
          ),
        ),
      ),
    ),
    'postVarSets' =>
    array (
      '_DEFAULT' =>
      array (
        'tx_news' =>
        array (
          0 =>
          array (
            'GETvar' => 'tx_news_pi1[news]',
 'lookUpTable' =>
            array (
              'table' => 'tx_news_domain_model_news',
              'id_field' => 'uid',
              'alias_field' => 'title',
              'useUniqueCache' => 1,
              'useUniqueCache_conf' =>
              array (
                'strtolower' => 1,
                'spaceCharacter' => '-',
              ),
            ),
          ),
        ),
      ),
    ),
  ),
);


Die .htaccess:

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

Wäre für Hinweise dankbar ...

H.


More information about the TYPO3-german mailing list