When a user receives an error message they will be served one of the appropriate error pages within your vBulletin site.
Why?
More often when a user hits an error message on a site they will hit the back button and leave, this way the user is already on your site and can navigate into your site.
Important your server must be able to support .htaccess file.
1. Unzip
2. Upload the contents of forum folder to your forum folder.
2. Add the contents of text file to your .htaccess file at the root of the server, you may need to edit and or rename the paths to suit your setup.
3. Import the product file.
4. You are done.
Looking at you forum, i see that you are using vbseo, which rewrites the urls from php to html, is this interfering with the calling of the 404.php? Never used or looked at vbseo so i do not know if there are any settings to be changed? There is no reason I can see why this is not working as it works on you index page.
You can slap me if I'm getting this wrong, but when I enter some random url on your website the error returned is simply the default 'Not Found
The requested URL /forums/billie.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. ' is served to me, instead of a nice-looking page, hopefully you can help me understand that
You can slap me if I'm getting this wrong, but when I enter some random url on your website the error returned is simply the default 'Not Found
The requested URL /forums/billie.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. ' is served to me, instead of a nice-looking page, hopefully you can help me understand that
No this was all me, I have just spent the last 10hours moving servers from that joke company called bluehost and the only thing i forgot to do was put the .htaccess back in place but all is good now.
No this was all me, I have just spent the last 10hours moving servers from that joke company called bluehost and the only thing i forgot to do was put the .htaccess back in place but all is good now.
Allright, thanks. This indeed looks a lot better than the default errors, installed
You can not run files on windows that start with a . so unfortunatly not.
However, I do know there is alot of talk about windows, apache and .htaccess on the net, but this is mainly down to password use. Maybe you can find a solution. try here this is a web host writing about windows and apache with .htaccess http://customersupport.websiteprovid...ials/htaccess/
Hey Spikeman, you rawk!
Unfortunately, I'm in a WinBlows environment, so, alas, I cannot use this. How I wish I could!
Looking at you forum, i see that you are using vbseo, which rewrites the urls from php to html, is this interfering with the calling of the 404.php? Never used or looked at vbseo so i do not know if there are any settings to be changed? There is no reason I can see why this is not working as it works on you index page.
This will helpfull for any resource that caused error under forum folder only, sub-folder will make it trouble
and see next:
HTML Code:
Warning: main(./global.php): failed to open stream: No such file or directory in /home/interne/public_html/forums/errorpages/404.php on line 26
Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/interne/public_html/forums/errorpages/404.php on line 26