[TYPO3] Shorting realurl path

tonix (Antonio Nati) tonix at interazioni.it
Tue Mar 27 11:40:25 CEST 2007


At 11.16 27/03/2007, you wrote:
>-----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/'
>     [...]
>   )
>[...]
>)

Manual says that redirect  "trigger a HTTP redirect header directly 
to the URL entered as value. If such a match happens the script 
issues a location-header and exits "

I'm not looking for an http redirect, rather something like an 
internal total aliasing.

Thanks,

Tonino

>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-----
>_______________________________________________
>TYPO3-english mailing list
>TYPO3-english at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list