(Wolfie) CSEO redirect to IPB3 tool v31104

Sign in to follow this  
Followers 0

About This File

Autor: Wolfie

IPS link: http://community.inv...b3-tool-v31105/

Author's webpage: http://n-raged.com/community/

IMPORTANTE

Esto requiere que tengas algo de conocimientos de .htaccess y que en estos momentos estés usando .htaccess

Instruciones

Bastante fácil. Envías el fichero 'wolfurl.php' al mismo directorio donde está 'conf_global.php' y configuras el fichero .htaccess como sigue:

* Usa el código .htaccess como el generado desde el ACP para usar con las FURLs

* INMEDIATAMENTE después de la línea de RewriteBase y antes de cualquier cosa más, incluye las siguientes dos líneas:

RewriteCond %{REQUEST_URI} ^/boardpath/(.*-[a-z]+[0-9]+)|(forums?|blogs?|downloads?|gallery).html

RewriteRule . /boardpath/wolfurl.php [L]

(Asegúrate de reemplazar "/boardpath/" por lo tque tengas que reescribir. Por ejemplo, si lo tienes puestos en "/forums/" entonces usa estos en lugar de "/boardpath/".)

* Prueba para asegurarte que funciona.

Uso avanzado

Si estás redireccionando desde otra carpeta/lugar, el fichero wolfURL.php ya ha de estar preparado para manejar esto sin realizar ninguna edición, sólo necesitas mirar el .htaccess y reescribir la regla para hacerlo.

RewriteRule . /path/to/wolfurl.php?redirect=/path/ [L]

o

RewriteRule . /path/to/wolfurl.php?redirect=http://newdomain.com/path/ [L]

======================================================================================

IMPORTANT

This requires that you have some sort of .htaccess knowledge and that you are currently using .htaccess

Instructions

Rather simple. Upload the 'wolfurl.php' file into the same folder as 'conf_global.php' and configure the .htaccess file as follows:

* Use the .htaccess code as generated from within the ACP for using friendly URL's

* IMMEDIATELY after the RewriteBase line and before anything else, include the following two lines:

RewriteCond %{REQUEST_URI} ^/boardpath/(.*-[a-z]+[0-9]+)|(forums?|blogs?|downloads?|gallery).html

RewriteRule . /boardpath/wolfurl.php [L]

(Be sure to replace "/boardpath/" with whatever your rewrite base is set to. Example, if it's set to "/forums/" then use that instead of "/boardpath/".)

* Test to make sure it works.

Advanced usage

If you are redirecting from another folder/site, the wolfURL.php file is already set up to handle this without making any edits, you just need to tweak the .htaccess rewriterule to do it.

RewriteRule . /path/to/wolfurl.php?redirect=/path/ [L]

or

RewriteRule . /path/to/wolfurl.php?redirect=http://newdomain.com/path/ [L]


 Report this file


What's New in Version   See changelog

Released

No changelog available for this version.