[TYPO3-english] RealURL customize

Tomiţă MILITARU tomita.militaru at gmail.com
Wed Sep 23 15:08:33 CEST 2009


Made some changes and now my links look like this:
http://web-services.html ( it was my intention to make them .html)
As you can see the baseURL is missing, here is my localconf.php:
$tx_realurl_config = array (
    'init' => array(
        'enableCHashCache' => true,
        'appendMissingSlash' => 'ifNotFile',
        'enableUrlDecodeCache' => true,
        'enableUrlDecodeCache' => true,
        'postVarSet_failureMode' => '',
    ),
    'preVars' => array(
        'GETvar' => 'L',
        'valueMap' => array(
        'en' => 0,
        'de' => 1,
        ),
        'valueDefault' => 'en',
        'noMatch' => 'bypass'
    ),
    'postVarSets' => array(
        '_DEFAULT' => array(
        ),
    ),
    'pagePath' => array(
        'type' => 'user',
        'userFunc' =>
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
        'spaceCharacter' => '-',
        'languageGetVar' => 'L',
        'rootpage_id' => 1,
        'expireDays' => 3,
    ),
    'fileName' => array(
        'defaultToHTMLsuffixOnPrev' => 1,
    )
);

$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = $tx_realurl_config;

On Wed, Sep 23, 2009 at 3:37 PM, Tomiţă MILITARU
<tomita.militaru at gmail.com>wrote:

> I had that in my localconf.php:
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = $tx_realurl_config; :)
>
> On Wed, Sep 23, 2009 at 3:32 PM, Dmitry Dulepov <dmitry.dulepov at gmail.com
> >wrote:
>
> > Hi!
> >
> > Tomiţă MILITARU wrote:
> > > I'm trying to make my links look like this:
> > > www.domain.com/en/web-services/
> >
> > <skip>
> >
> > > The resulting link is:
> > > www.domain.com/32 (32 - is the page uid).
> > > I can't figure what's wrong :(
> >
> > It is because:
> >
> > > My RealURL configuration is:
> > > $tx_realurl_config = array(
> >
> > It should be $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
> >
> > Read this:
> http://dmitry-dulepov.com/article/realurl-made-easy-part-1.html
> >
> > --
> > Dmitry Dulepov
> > Facebook: http://www.facebook.com/dmitryd
> > Twitter: http://twitter.com/dmitryd
> > Skype: liels_bugs
> > _______________________________________________
> > TYPO3-english mailing list
> > TYPO3-english at lists.netfielders.de
> > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
>
>
>
> --
> Tomiţă MILITARU
> AIESEC Sibiu Member
> Board Member SbLUG
> Junior Java Developer
> Tel. +40741064681
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>



-- 
Tomiţă MILITARU
AIESEC Sibiu Member
Board Member SbLUG
Junior Java Developer
Tel. +40741064681


More information about the TYPO3-english mailing list