[Typo3] real URL : good links, bad pages

Colin Ross colinross at gmail.com
Thu Mar 10 01:03:21 CET 2005


I have set up realURL (or I should say am trying to do so), I have the
rewrite rules set:
    RewriteRule (\.html)$ /index.php [L]
That works fine.
I have configure the ext in the localconf.php. When it builds the
links, they look right, eg:
http://example.com/section-one/sub-section/sub-section/page
but all pages show the rootpages content (id=1)... any ideas?

i also did notice that the pages don't have an actual page path (i.e.
page.html) ... could this be a hint?

localconf settings...

$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
    'redirects' => array (
        'apply' => '://apply.example.com'
    ),
    'preVars' => array(
        array(
           'GETvar' => 'no_cache',
           'valueMap' => array(
             'no_chache' => 1
           ),
           'nomatch' => 'bypass',
        ),
        array(
           'GETvar' => 'L',
           'valueMap' => array(
             'en' => 1,
             'english' => 1
           ),
           'nomatch' => 'bypass'
        ),
    ),
    'pagePath' => array(
                'type'                  => 'user'
                , 'userFunc'            =>
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main'
                , 'spaceCharacter'      => '-'
                , 'languageGetVar'      => 'L'
                , 'expireDays'          => 1
                , 'rootpage_id'         => 1
    ),
    'fileName' => array(
      'index' => array(
        '_DEFAULT' => array(
          'keyValues' => array(),
        ),
        'page.html' => array(
          'keyValues' => array(
            'type' => 1
          ),
        ),
      ),
    ),
    'postVarSets' => array(
    ),
);



More information about the TYPO3-english mailing list