Log in

View Full Version : Error 404 pages



Bear-Max
03-06-2005, 01:20 AM
Bah, I'm too lazy to go searching, but how do you upload your own Error 404 page?

(If you don't understand what that means then you're probably no use to me :P but just for your piece of mind it's the page that comes up if you type in an invalid url, eg. Bobbanet.com's 404 page is www.bobbanet.com/it_doesnt_matter_what_you_put_here_as_long_as_the_ page_is_non_existant)

:Blob
03-06-2005, 09:00 AM
Make


404.shtml

iRoss
03-06-2005, 09:03 AM
I think he means.

Like where it says.

Say you put in.

www.bobbanet.com/feesdff

It would say the page feesdff does not exist.

Or something liek that?

:Blob
03-06-2005, 09:10 AM
Thats what i mean




You create a 404.shtml and upload it


E.g. www.bobbanet.com/404.shtml is their error page, so when u upload that it will be your error page

iRoss
03-06-2005, 09:12 AM
NOO! I mean so i displays which page the person tried to get to . . .

:Blob
03-06-2005, 09:16 AM
Ohh the code


<!--#echo var="REQUEST_URI" --> Is where they tried to get to


<!--#echo var="HTTP_REFERER" --> THe site which led you there



Make sures its .shtml

iRoss
03-06-2005, 09:18 AM
That's It :D +Rep from bear 2 youuuu :D

:Blob
03-06-2005, 09:23 AM
Thanks



Heres all the 404 error codes:

<!--#echo var="HTTP_REFERER" --> The website with the link to wrong page

<!--#echo var="HTTP_HOST" --> Server name

<!--#echo var="REMOTE_ADDR" --> Visitors IP

<!--#echo var="HTTP_USER_AGENT" --> Viewers Browser

<!--#echo var="REQUEST_URI" --> Requested URL

<!--#echo var="REDIRECT_STATUS" --> Redirect Status COde

Want to hide these adverts? Register an account for free!