I have a problem regarding the new RealURL version 2.2.1. After upgrading to Typo3 7.6 we got the new RealURL version. The concept in the old version (6.2) was that the pagePath in the URL was completely empty.
For example if you the following tree is:
page1
-- page2
---- page3
the url for page3
was http://test.de/page3.html
so the complete pagePath and subfolders were removed from the URL. In the old configuration we could get that effect if the pagePath segment in the realURL configuration was empty.
<?php
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl'] = array(
'_DEFAULT' => array(
'init' => array(
'enableCHashCache' => true,
'appendMissingSlash' => 'ifNotFile,redirect',
'adminJumpToBackend' => false,
'enableUrlDecodeCache' => true,
'enableUrlEncodeCache' => true,
'emptyUrlReturnValue' => '/',
),
'fileName' => array(
'defaultToHTMLsuffixOnPrev' => 1,
'acceptHTMLsuffix' => 1,
),
'pagePath' => array(),
),
);
In the new version it isn't working anymore. I've tried a lot now to get the same state as before. But all i get is an URL with the complete path for example http://test.de/page1/page2/page3.html
. This would destroy all URLs on Google. Does anyone know how i can fix that problem?