GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Anybody have a 404 error redirection script? (https://gfy.com/showthread.php?t=371078)

wtfent 10-12-2004 08:45 PM

Anybody have a 404 error redirection script?
 
I need one so if any of you want to help out a fellow gfyer it would be much appreciated.:thumbsup

media 10-12-2004 08:46 PM

Use our hosted 404 trap =)

If you sign up we have the code for you to place on your htaccess...

gornyhuy 10-12-2004 08:46 PM

Just use htaccess or just set your custom 404s in plesk/cpanel and upload your own page for it.

Or am I misunderstanding you?

Houdini 10-12-2004 08:51 PM

http://www.htaccesstools.com/error_document/

wtfent 10-12-2004 08:57 PM

Quote:

Originally posted by Houdini
http://www.htaccesstools.com/error_document/
Its not creating any code.

xclusive 10-12-2004 08:58 PM

Go with epic they got good shit...

myro 10-12-2004 09:00 PM

create a document in the root directory of your site named .htacces and put this line in it:

ErrorDocument 404 http://www.domain.com/404.html

Of course, change the domain and path to your 404 script/file

Cman 10-12-2004 09:02 PM

if you want to redirect a particular page somewhere and have PHP, you can use this.

<?
header ("Status: HTTP/1.1 301 Moved Permanently");
header("Location: http://www.yoursite.com");
?>



htaccess entry

ErrorDocument [number] [file path]

ie.

ErrorDocument 404 /error.htm


All times are GMT -7. The time now is 12:50 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123