Custom 404 Page Creation For Mybb Without Any Plugin. After a walk in the comunity MyBB forum I found this tutorial, and the tutorial may be able to help you who have experienced these things and change it without a plugin.
1. Add this code to the last line on your .htaccess
ErrorDocument 404 /filenotfound.php
2.Create a file called filenotfound.php, and add this to it:
<?php
define('IN_MYBB', 1);
require_once("global.php");
add_breadcrumb("404 Error", $_SERVER['PHP_SELF']);
eval("\$page = \"".$templates->get("404")."\";");
output_page($page);
?>
3. Upload the filenotfound.php file to your main website's directory.
4. Create a new template on your main theme with the name 404 and add this to it:
<html>
<head>
<title>Your title</title>
{$headerinclude}
</head>
<body>
{$header}
Your 404 Page Content
{$footer}
</body>
</html>
Edit where it says Your 404 Page Content to whatever suits your needs.
It is Custom 404 Page Creation For Mybb Without Any Plugin, may be useful and help you!

Posted by:
Published :2013-09-06T10:00:00-07:00
Custom 404 Page Creation For Mybb Without Any Plugin
MyBB Tutorials
- Automatic Subscriptions For All Members On MyBB
- Custom Ficons - Unique Icon For Each Forum On MyBB
- How to Easily Updating Plugins On MyBB
- Usefull SQL Query List On MyBB
- Dropdown Menu On MyBB
- Custom 404 Page Creation For Mybb Without Any Plugin
- How to Easily Remove Threaded Mode On MyBB
- Subforums in Columns With CSS On MyBB
- How to Easy Install Skins MyBB
- Creating Easy Spoiler Code for MyBB
- How To Change Quick Reply Editor To Advanced Editor
- Add Secret PIN To ACP Login On MyBB
Nicely Copied Everything :D
ReplyDelete