miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /  
 

Error page 404

 
Author jmcwebtrip
Partaker
#1 | Posted: 14 Apr 2012 22:33 
I see that the script does not have a custom error page 404. Some times there are users who post post that are spam or are out of context. Removing them does not exist a page indicating that the page does not exist, I think it would be a good idea to create a custom error page and apply to .htaccess this code:

ErrorDocument 404 http://site/error404.php

Author Paul
Lead Developer 
#2 | Posted: 17 Apr 2012 09:44 
jmcwebtrip:
Removing them does not exist a page indicating that the page does not exist, I think it would be a good idea to create a custom error page and apply to .htaccess this code
It's not mandatory. Supposing the page is not found, the Apache server already reports "404" header to the browser or search crawler. Seeing that, search crawler will delete this page from it cache and it won't appear there again until it appears on the website (in most cases, it won't never appear).

ErrorDocument directive is mostly used for overriding default 404 pages. If you are happy with the default one, there is nothing to touch.

Additionally, let's not forget it won't work on all servers, but only there where it's allowed.

Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /
 Error page 404
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑