[TYPO3-UG Spain] TYPO3-UG-Spain Digest, Vol 101, Issue 4
Andres Moratinos
amoratinos at exagono.es
Sat Jul 7 22:53:13 CEST 2012
El 07/07/2012, a las 12:00, typo3-ug-spain-request at lists.typo3.org escribió:
> Send TYPO3-UG-Spain mailing list submissions to
> typo3-ug-spain at lists.typo3.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-ug-spain
> or, via email, send a message with subject or body 'help' to
> typo3-ug-spain-request at lists.typo3.org
>
> You can reach the person managing the list at
> typo3-ug-spain-owner at lists.typo3.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of TYPO3-UG-Spain digest..."
>
>
> Today's Topics:
>
> 1. Re: URL's en TYPO3 (Nicolas Puente)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 06 Jul 2012 14:01:42 +0200
> From: Nicolas Puente <nicolas.puente at lgb-rlp.de>
> Subject: Re: [TYPO3-UG Spain] URL's en TYPO3
> To: TYPO3 Usergroup Spain <typo3-ug-spain at lists.typo3.org>
> Message-ID:
> <mailman.5517.1341576104.658.typo3-ug-spain at lists.typo3.org>
> Content-Type: text/plain; charset=iso-8859-1; format=flowed
>
> Andr?s,
>
> 1) Crear en typo3 una p?gina con el contenido que se dese y que se llame
> 404 y se oculta en el men?.
>
> 2) en la instalaci?n de Typo3 en "All Configuration" en la entrada
> "[pageNotFound_handling]" escribir lo siguiente:
>
> *USER_FUNCTION:typo3conf/404error.php:user_pageNotFound->pageNotFound*
>
> 3) Crear la p?gina 404error.php con el cotenido siguiente:
>
> <?php
> class user_pageNotFound {
> function pageNotFound($param,$ref) {
> header("Location:
> http://[domainname].de/[con_el_mismo_nombre_del_punto_uno]");
> }
> }
> ?>
>
> 4. El archivo 404error.php tiene que ser copiado al directorio typo3conf.
>
> Lo importante es que el nombre del php-script sea el mismo que en la
> configuraci?n de typo3.
>
> Esto funciona con realUrl.
>
> Saludos.
>
> Nicol?s
Muchas gracias, Nicolás.
Andres Moratinos
Exágono de Comunicación
More information about the TYPO3-UG-Spain
mailing list