![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Nov 2003
Location: San Diego, Cali. baby!!!
Posts: 3,790
|
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.
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed Moneymaker
Industry Role:
Join Date: Apr 2002
Location: Eugene, OR It's Like Jail, Only with Trees!
Posts: 9,852
|
Use our hosted 404 trap =)
If you sign up we have the code for you to place on your htaccess...
__________________
I'm here for the violence! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Chafed.
Join Date: May 2002
Location: Face Down in Pussy
Posts: 18,041
|
Just use htaccess or just set your custom 404s in plesk/cpanel and upload your own page for it.
Or am I misunderstanding you? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Dec 2001
Location: SoCal
Posts: 1,651
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Join Date: Nov 2003
Location: San Diego, Cali. baby!!!
Posts: 3,790
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Too lazy to set a custom title
Join Date: Apr 2004
Location: Buffalo, NY
Posts: 35,218
|
Go with epic they got good shit...
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: May 2003
Posts: 245
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Jun 2004
Location: Canada
Posts: 697
|
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
__________________
I could put stuff here, but you don't care. |
![]() |
![]() ![]() ![]() ![]() ![]() |