Customizing SMF > Modifications and Packages

Redirect Error 404

(1/10) > >>

Adk-Team:
Link to Mod
Redirect Error 404 - lucas-rurokenError 404 redirect an internal page
Autor:
- lucas-ruroken

Perfil
My Mods


Help support my mods


Descripcion (Spanish):
Este mod nos permitira mandar a los visitantes a una pagina interna cada vez que arroje error 404

Description (English):
This mod allows redirect the visitors an internal page whenever mistake throws 404

Nota (1): (Spanish)
Abrir el archivo htaccess.txt y en esta linea:
ErrorDocument 404 /index.php?action=Error404
AƱadir si tienen su foro en otro carpeta por ejemplo si su foro esta en www.yoursite.com/foro
entonces modificar por:
ErrorDocument 404 /foro/index.php?action=Error404
Luego Subir al root de su dominio y renombrar a .htaccess

Nota (2): (Spanish)
Si usted utiliza otro htaccess en el root del dominio debe abrilo y agregar la linea
ErrorDocument 404 /index.php?action=Error404
y repetir paso anterior

Note (1): (English)
To open the file htaccess.txt and in this line:
ErrorDocument 404 /index.php?action=Error404
To add if they have his forum in other one folder for example if his forum this one in www.yoursite.com/foro
ErrorDocument 404 /foro/index.php?action=Error404
Then To raise the root of his(her,your) domain(control) and to rename to .htaccess

Note (2): (English)
If you use another htaccess in the root of the domain(control) it(he,she) has to abrilo and add the line 
ErrorDocument 404 /index.php?action=Error404
And to repeat previous step

Images:
Preview 1
Preview 2

For Support:

SmfPersonal.net

Afro:
good mod, but i heard its a bad idea to redirect 404 pages.

check here

http://www.mcanerin.com/EN/articles/301-redirect-404-error.asp

lucas-ruroken:
mmm is strange...

Arantor:
You could have it send the appropriate header from the redirected error page though.

lucas-ruroken:
Redirect error 404 is now avaiable for 2.0 RC3

Navigation

[0] Message Index

[#] Next page

Go to full version