2011-12-08, 03:53 PM
2011-12-08, 04:09 PM
it is from Google SEO plugin OR myBB's archive/index.php & archive.lang.php OR from your webhost
2011-12-08, 09:18 PM
If Google SEO's 404 error page, this is what you need to edit:
./inc/plugins/google_seo/404.php (line 214-228):
./inc/languages/english/googleseo.lang.php (lines 3-5):
./inc/plugins/google_seo/404.php (line 214-228):
/* --- Custom 404 error page --- */
/**
* Create a custom 404 error page for errors that occur outside of MyBB.
*
*/
function google_seo_404_page()
{
global $mybb, $lang;
if($mybb->input['google_seo_error'] == 404)
{
error($lang->googleseo_404_notfound);
}
}
./inc/languages/english/googleseo.lang.php (lines 3-5):
$l['googleseo_404_notfound'] = "404 Not Found";
$l['googleseo_404_widget'] = "<script type=\"text/javascript\">\nvar GOOG_FIXURL_LANG = 'en';\nvar GOOG_FIXURL_SITE = '{1}';\n</script>\n<script type=\"text/javascript\" src=\"http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js\"></script>";
$l['googleseo_404_wol'] = "Seeing an <a href=\"{1}\">Error Page</a>";
2011-12-09, 04:01 AM
Thanks a lot.