[TYPO3] Shorting realurl path
Harald Amelung
ha75 at gmx.net
Tue Mar 27 11:16:50 CEST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Antonio,
tonix (Antonio Nati) schrieb:
> Can I have an example of setting up realurl for this goal?
>
> I have a general folder, CompanyFolder, containing other pages, like
> WhoWeAre, Addresses, Contacts, etc.
>
> I would like that
> /CompanyFolder/WhoWeAre
> /CompanyFolder/Addresses
> /CompanyFolder/Contacts
>
> are displayed and retrieved as
> /WhoWeAre
> /Addresses
> /Contacts
>
> I imagine localconf may be configured for that, but I cannot understand
> how.
>
> Thanks,
>
> Tonino
>
you should add (besides other configuration) something like this to your
localconf.php file:
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
[...]
'redirects' => array(
'WhoWeAre/' => 'CompanyFolder/WhoWeAre/'
[...]
)
[...]
)
HTH
Harald
- --
Harald Amelung, BCS | http://www.nuspirit.de
XING: https://www.xing.com/profile/Harald_Amelung
Freelancer-Community Erfurt: http://www.2ndw.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGCOECCbOX27oJRu8RAh+rAJ4jwZbG0qwVwW4Z9k+A13AU4Kd1PQCeNOXE
VBdbSDqHUSxPYGbW6O0wNv0=
=aaDp
-----END PGP SIGNATURE-----
More information about the TYPO3-english
mailing list