Hello, so I'm trying to make the page not found to fit into the theme and just say that that page doesn't exist.
What I mean is if you try for example on my site:
http://computing-tech.com/hjbhfebf
you'll see it gives a plain error, I'd like to make it be my normal site with theme and all, but just show somehow that that page doesn't exist like on many other sites.
GoogleSEO has a 404 feature. You can also disable all of the other features if all you want is the 404 page.
to create a custom page simply create a new notepad folder called yourpagenamehere.php
inside the document put:
<?php
define('IN_MYBB', 1); // (1a)
require "./global.php"; // (1b)
add_breadcrumb("pagename", "pagename.php"); // (2)
eval("\$pagename = \"".$templates->get("pagename")."\";"); // (3)
output_page($pagename); // (4)
?>
(rename pagename with the name of your page). Then upload it to your public_html.
Then create a template with the pagename you put in the document in your public_html and paste this:
admin cp -> your current theme -> templates -> global
create a new title for the template (the one you named in the document)
<html>
<head>
<title>your page title (this will appear in the tab at the top of your browser)</title>
{$headerinclude}
{$formcheck}
</head>
<body>
{$header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>(the name you wish to put)</strong></td>
</tr>
<tr>
<td width="100%" class="trow1">
<p>Text</p>
</td>
</tr>
</table>
{$footer}
</body>
</html>
Then your page should work. Hope that helped. Rep is also good
I still don't understand entirely, what do I put instead of $pagename ?
Think you could do it via teamviewer as I don't understand some of the instructions.
+rep
Just install
Google SEO and enable the 404 feature.
It's still not working, followed the instructions...