[TYPO3-english] RealURL config problem.

Павел Приходько bibberfell at gmail.com
Thu Dec 23 15:04:04 CET 2010


Hello.

I have problem with configuring RealURL

There is online catalog of
4 levels: letter -> name -> subsection -> text page

The letter is page of TYPO3, other levels must be generated through
the letters page, with variables.


Here is my realurl_conf.php:

$getMap = array(
array('GETvar' => 'var1'),
array('GETvar' => 'var2'),
array('GETvar' => 'text')
);

$abc = array('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'g', 'k', 'l',
'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z');

$start = 4; //UID of letter pages are starting from UID = 4
$fixedPostVars = array('0-9' => $getMap, '3' => '0-9'); //Other Chars UID =
3.
foreach ( $abc as $letter ) {
$fixedPostVars[$letter] = $getMap;
$fixedPostVars[$start] = $letter;
$start++;
}

$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
'redirects_regex' => array(
'^0\/(.*)' => '0-9/\1',
),
'fixedPostVars' => $fixedPostVars,
'fileName' => array (
'defaultToHTMLsuffixOnPrev' => 'postfix.htm',
'index' => array(
'_DEFAULT' => array(
'keyValues' => array()
),
),
),
);

When I visit letter page and other site pages - everything is fine, but then
I enter sublevels of char page it returns error: http://d.pr/qf7Q

Extension works fine, I've checked it by entering pages like
example.com/a/?var1=atest

Problem is in realurl configuration. Please, help me someone. I'm stuck =(

Thanks


More information about the TYPO3-english mailing list