View Full Version : 404 Page
wierdo124
06-12-2010, 01:55 AM
Hey guys.
Trying to create a custom 404 page. I was using a mod called 404 Area, but i came to the conclusion it sucked, so i'm making my own.
Problem is, i have a 404.php, i have an .htaccess that points to it, but still no dice :(
What's the trick with vB? I'm using vbulletin 4.
Rafa-el
06-12-2010, 02:31 AM
What are you trying to do? I think that you only have to add this line in the .htaccess file
ErrorDocument 404 /myerrorpage.php
And if you're planning to use that page integrated with vB4 that's other history ;)
wierdo124
06-12-2010, 02:37 AM
What are you trying to do? I think that you only have to add this line in the .htaccess file
ErrorDocument 404 /myerrorpage.php
And if you're planning to use that page integrated with vB4 that's other history ;)
I have that. And what do you mean..? there's nothing integrated with vb4, on Chrome i just get a Chrome error.
Rafa-el
06-12-2010, 01:29 PM
I have that. And what do you mean..? there's nothing integrated with vb4, on Chrome i just get a Chrome error.
so what's the problem???
This is our 404 :D
http://the-sps.org/404.shtml
ChopSuey
06-12-2010, 07:54 PM
Check mine out
http://forum.vbdiscussions.com/wierdo124lookhere-&icanputanythingiwantahaha
It works :D
Ours is better, Maddie McCann trumps your software babble :D
wierdo124
06-13-2010, 06:11 PM
so what's the problem???
That i want to point to a specific custom 404 page..
How did you guys do that?
I have two files in the public folder.
one called 404.stml
one called 404image.jpg
The contents of the .shtml is
Rename the 404 with a .shtml extention and if you want also an image that you name the same as the jpg above and upload them to your public folder. You can then go to yourfoum.com/404.shtml and see if it works. If that works great, all you need to do then is play about with the shtml file to get what you want :)
wierdo124
06-14-2010, 07:56 PM
But i have a 404 page setup, i can view it no problem, but an error doesn't point to the page.
Rafa-el
06-14-2010, 08:16 PM
Are you sure that you have Apache in the webserver? Maybe you're using ngnix or other.
What's your site URL's?
Actually now that you mention it, if I type in an incorrect url I get a 500 :/
Rafa-el
06-16-2010, 03:31 AM
That's cause you have a bad code for the 404 handle request, check it at the htaccess.
ChopSuey
06-16-2010, 07:41 AM
Meta the 404.shtml to redirect to your 404 script.
When I go into my cPanel and select error pages and then 404 it brings up the code in my txt that I attached.
Meta the 404.shtml to redirect to your 404 script.
I have absolutely no idea what you mean :D
ChopSuey
06-16-2010, 01:39 PM
Ehh https://vborg.vbsupport.ru/showthread.php?t=234274
See contents of 404.sthml
The problem I think is being caused by the modrewrite in the htaccess.
ChopSuey
06-20-2010, 02:40 PM
The problem I think is being caused by the modrewrite in the htaccess.
Yes in your .htaccess ErrorDocument 404 /path/to/your/file
Something like that?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.