Hi Daniel,

For my realurl's configuration, I often use the extension "cbrealurl" which 
provides a nice default 
configuration. Very easy to install.

You might consider having a look at it.

Fabien

Daniel Calderini a écrit :
> Hi,
> 
> I have the following page tree in a TYPO3 4.2 installation:
> 
> Website Root
> - My Website (1)
> -- www.my-website.com (3)
> --- Home (9)
> 
> 
> 'My Website' is the the root of the website, it has a domain record 
> (www.my-website.com) and is a Shortcut to page 'www.my-website.com (3)'.
> 
> 'www.my-website.com' is a shortcut to page 'Home (9)'.
> 
> 
> I am using realurl to display links like this: 
> http://www.my-website.com/fr/home.html
> 
> But for some reason, my links have URLs like this: 
> http://www.my-website.com/fr/wwwmy-websitecom/home.html, which displays 
> a 404 error.
> 
> If I remove wwwmy-websitecom/ from the second URL, it works! So realurl 
> generates links like the second one, but wants to open links like the 
> first one...
> 
> Here is my realurl configuration:
> 
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
>     'init' => array(
>         'doNotRawUrlEncodeParameterNames' => 1,
>         'appendMissingSlash' => 'ifNotFile',
>         'enableCHashCache' => 1,
>         'enableUrlDecodeCache' => 1,
>         'enableUrlEncodeCache' => 1,
>     ),
> 
>     'preVars' => array(
>         array(
>             'GETvar' => 'L',
>             'valueMap' => array(
>                 'fr' => '0',
>                 'en' => '1',
>                 'de' => '2',
>                 'it' => '3',
>             ),
>             'valueDefault'=>'fr'
>         )
>     ),
>     
>     'pagePath' => array(
>         'type' => 'user',
>         'userFunc' => 
> 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
>         'spaceCharacter' => '-',
>         'languageGetVar' => 'L',
>         'expireDays' => 30,
>         'rootpage_id' => 3
>     ),
> 
>     'fileName' => array (
>         'defaultToHTMLsuffixOnPrev' => ".html"
>     ),
> );
> 
> This configuration comes from an old TYPO3 4.0 installation, where it 
> works perfectly!
> 
> Have I done something wrong?
> 
> Best regards
> Daniel Calderini
_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

Reply via email to