[TYPO3] RealURL Exclude PID
Dmitry Dulepov [typo3]
dmitry at typo3.org
Sun Mar 16 22:53:25 CET 2008
Hi!
Robert Peter wrote:
> However the url's becomes very long. So I´m looking for a way to
> skip one level out of my URL e.g.:
>
> My current URL for example looks like:
>
> http://domain.de/menu2/sitemap.html
>
> But I want to move it to:
>
> http://domain.de/sitemap.html
>
> I tried to solve this issue with the function excludePageIds and wrote
>
> 'pagePath' => array (
> 'type' => 'user',
> 'userFunc' =>
> 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
> 'spaceCharacter' => '-',
> 'languageGetVar' => 'L',
> 'expireDays' => '7',
> 'rootpage_id' => '1',
> 'excludePageIds' => '2',
This disables path generation only for this specific page, not for its subpages. It does not skip page in the URL.
> 'excludeIdsFromPath' => '2',
Does not exist at all. Useful only if you want to increase the size of PHP file...
> But it doesn´t work..
It will not. It is not possible.
--
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"
More information about the TYPO3-english
mailing list