Home  »  SEO  »  SEO Boost from Google 404 Plugin

by 149 comments

AskApache Google 404 is a must-have WordPress plugin that uses some ajax and a couple tricks to display a very helpful and SEO Error Page. The default displays Google Search Results for images, news, blogs, videos, web, custom search engine, and your own site.

Heads Up:This plugin will boost your SEO over time. And many additional features are in the works!

About the 404 Plugin

Updated: 09/20/2014
Install Time: 10 seconds to 5 minutes
Install Difficulty: Super Easy

This is one of my required plugins. It turns site errors and lost visitors into happy visitors and site traffic/seo. The goal is just like Google, to get the visitor who reached the error page where they really had meant/wanted to go in as little time as possible. It can help your SEO in many subtle ways.

Demo 404 Error Page

wordpress 404 plugin for Google Search«Take My 404 for a Test-Drive

Google 404 Screenshots

Loading Video... [dl]

Plugin Configuration Panel
AskApache Google 404 WordPress Plugin Configuration Panel

Search Entire Web
Search Entire Web with Google

Search Blogs
Search Blogs

Search Custom Search Engines
Search Custom Search Engines

Search Images
Search Images

Search Online Videos
Search Online Videos


404.php Installation

  1. Activate the plugin through the 'Plugins' menu in WordPress.
  2. Go to your Options Panel and open the "AA Google 404" submenu. /wp-admin/options-general.php?page=askapache-google-404.php
  3. Enter in your Google Search API Key and hit the "Update Key" Button. (Get One)
  4. Add the code to your 404.php template page by including in your main content area.

Frequently Asked 404 Questions

Do I need a Google Account?


Do I need a 404.php template file?

Only if you want to use this for your error page.

My 404.php page isn't being served for 404 Not Found errors!?

Add ErrorDocument 404 /index.php?error=404 to your .htaccess file.

More 404 Info from Google


September 20th, 2014

Comments Welcome

  • J. Pisano

    Hey all,

    This plugin is amazing! It needs more Press! I will be including this on my next list of must have wordpress plugins. Great job with this, I have it working on my site if anyone wants to see another site with it. Very easy to install. just go to and it will pop up.

  • Jason

    Great plugin, thanks. Have installed on my blog: angry people.

    How do you change the search bar preset?

    Mine currently shows [ or query] rather than [ or query].

  • pelf

    Hi, I have installed this plugin on my blog but for some reasons, I think it doesn't work if your permalink has the "date" on it, for example on my blog.

    (1) If I typed "", the 404 page will load perfectly OK.

    (2) But if I typed "", the 404 page won't load. But unfortunately, my permalink has the date in it.

    Is this a bug?

  • AskApache

    @ pelf

    This is not a bug, the plugin is purposefully very simple to avoid bugs.. (new plugins are in the works), the problem is occuring because for whatever reason, your site is not displaying the 404.php page for pages that are prefixed similar to /2007/09/14/ANYTHING.

    Instead of redirecting to
    /index.php?error=404 it redirects to

    You can try adding this to your root .htaccess file to fix it.

    ErrorDocument 404 /index.php?error=404
  • omegAlfa

    Amazing work. Thanks.

  • rilwis

    If you use htaccess file like that, maybe your robots.txt file will be not reconized by Google (this will be error "status 200 is trying to send by not existing document"). I met this situation, and removed the code ErrorDocument in the htaccess file.

    PS: This plugin sounds excellent. I will try to test on my site. Thank you very much.

  • AskApache

    @ rilwis

    Only if your 404.php page isn't setup the way WordPress recommends. All you need to do is add this to the very top of 404.php.

    header("HTTP/1.1 404 Not Found");
    header("Status: 404 Not Found");
  • beej

    great plugin, thanks!

  • Jeffro2pt0

    I just had one question. On the first tab and the Web tab, there is a section on the bottom called Sponsored Links. Is this hooked into your own google adsense account? If not, who is getting the money in relation to these sponsored ads?

  • AskApache

    @ Jeffropt0

    That is a really great question that I had to search awhile to find. The answer is because this Search API is still so cutting-edge new, Google is the only one making any money from these Ads. It is still pretty beta now, but in the future it will very likely have the features we want. It is against the TOS to remove the ads, and currently you cannot hook your own AdSense account into the Search API. You can however use css to re-position the sponsored links.. like:

    .gsc-control .gsc-ad-box {padding-top:100px;}

    According to Does the AJAX Search API contain advertising?

    Yes. The Web Search results may include up to 2-4 clearly marked sponsored links. There are currently no ads displayed among the News, Video, Maps, or Blog Search results. If you're interested in earning money for displaying relevant Google ads on your site, you can do so with Google AdSense.

  • Jeffro2pt0

    Thanks for the reply AskApache. So far, those who have read my post about this plugin have installed it and have been pleased with the results.

  • deep.thought

    Do you happen to know the output fields so I could add some css to the results list. Looks mad on a dark background.

    Nice plugin I must add, worked out of the box. Cheers.

  • CincauHangus

    Hi there.

    I'm having a small issue with your plug-in. The search results doesn't seem to show. Any idea?

    Also, how do i strip/replace the dashes from the search query?

    Thanks for the excellent plugin.

  • yoichi

    Thanks for this plugin.
    But for some reason I'm only getting "loading..." and nothing else.
    What could have I done wrong?

  • Kucing

    My problem is exactly same as the above!

  • Jeffro2pt0

    I too am having the same exact problem. Looks like 2.3 has borked this plugin.

  • AskApache

    I Upgraded yesterday to 2.3 and I didn't even get a blip of a problem from this plugin, seriously this plugin doesn't do any database queries or anything other than print out some javascript.

    I can only suggest that you deactivate the plugin prior to upgrading, and then just re-install it. Who knows, their might even be some improvements to the plugin..

    The other thing I can offer is make sure you are using a correct Google API key and not just mine ;)

  • Jeffro2pt0

    Just wanted to say that I updated my API key for this plugin and it appears to be working again.

  • AskApache

    Ok I noticed one thing at least did change from 2.x to 2.3, check out wp-includes/canonical.php it is trying to guess what you are looking for and redirects.

    if ( is_404() ) {
        $redirect_url = redirect_guess_404_permalink();
  • dennyhalim

    i really like to see a more general 404 script which do not require wp.
    so that i can install it to any cms, not limited to wp.


  • AskApache
  • Jeffro2pt0

    No problemo. The ask apache plugin write I did is the second most popular article on my blog lol.

  • AskApache

    Once you upgrade WordPress past 2.1 you will need to edit a file to make sure your.
    404 page is served correctly.

    Open /wp-includes/canonical.php and do the following.


    is_404() ||
    function redirect_canonical($requested_url=NULL, $do_redirect=true) {
      global $wp_rewrite, $posts, $is_IIS;
      if ( is_feed() || is_404() || is_trackback() || is_search() || is_comments_popup() || is_admin() || $is_IIS || ( isset($_POST) && count($_POST) ) || is_preview() )


        return false;
    function redirect_guess_404_permalink() {
      global $wp_query, $wpdb;
      if ( !get_query_var('name') )
        return false;
        return false;
      $where = "post_name LIKE '" . $wpdb->escape(get_query_var('name')) . "%'";
  • AskApache
  • costa

    Thanks! This is one plugin that I am going to share with all my readers

  • Adrian

    what a great plugin!
    easy to install, easy to use, easy to configure, i'm using it now!
    thank you...

  • Jeffro2pt0

    What exactly has changed in this latest release?

  • orasid

    i love it!



  • Christopher Price

    I'm looking for a bit different functionality. We're coming from Joomla, and the URLs they use lacked any title/stub at all (/content/view/%article-id%) for example.

    So, the plugin isn't going to help in terms of migrating from Joomla... since it's just going to search the WordPress site for "content view %article-id%" and come up with nothing.

    Is there a way to have it grab the Google Search Query from the referring URL? I'd much rather pass along what the user entered as their search query... as that's more likely to dig up relevant content in the site itself.

  • Nico

    Ive installed this on one of my friend's blogs and he uses i3Theme 1.2 as a his wordpress theme and he uses wp 2.3.1.

    I activated this plugin and put the right Google API code. I also edited the themes 404.php. But still when I press the Test Your 404 thing, it just show the frontpage but when i type in this then it shows the googles stuff...

    What did I do wrong?

  • Karlyn

    This is fabulous, thank you!

  • Dizajn 404

    thanks for 404 plugin!

  • Melanie

    Hey Hi :) I just installed your 404 plugin - great work and thankyou, thankyou, thank you,

    my second day at blogging and still trying to get my head around everything, found your spot during my travels and though I must say - most of what you have onyour iste flies right over my head, but still makes for very interesting reading, I'm sure I'm going to learn a lot here still especially the htaccess stuff and rewrites.


  • Jeffro2pt0

    Why did you decide to change the file names once again in this latest version. I'm always having to figure out which is which when I upgrade. Why can't this be a simple overwrite process.

  • Jeffro2pt0

    I managed to upgrade your plugin but now the search does not function anymore. I've tried to get a new API key but even that doesn't solve the problem. What else should I try>

  • Norbert


    thanx a lot, my 404 page now looks nicer than some of my normal pages :-)

  • Jeffro2pt0

    I have no idea how I fixed it except that I was just playing around trying various things and eventually, I clicked on the Reset Options to make the thing go back to default and it finally worked. Looks like for whatever reason, the api key had something to do with the problem. Looks like the whole key was not properly added into the plugin options even though I swear I copied and pasted the google API key about 100 times. At any rate, all is well it seems.

  • J. Pisano


    I had the same problems as Jeffro Above. Unfortunately, I could not get it to work. I transitioned back to 4.1 and it works again.

    Here is some troubleshooting info:
    I'm running wordpress 2.3.2

    The Xhtml appeared on my "404" page with your version newest version of 4:

    Wait a sec, I might be able to help...

    That is I saw the Wait a sec, I might be able to help... and then...

    Nothing loaded after that.

    I tried a new Google API key twice, defaulted the options twice and that did not fix it.

    When I reverted back to 4.1, it all worked again.


    J. Pisano

  • RT Cunningham

    I upgraded to the latest 4.2 version and it stopped working. I cleared everything and installed from scratch and still no go. So I reinstalled 3.0 and it worked again. I don't know what's wrong.

  • flys

    Hi, tnks for the great plugin.
    Just a question.
    Can I cut off the results for the Web-Blog-video-immagine-cse ? i would like to delete that folder ...

  • Cynthia Armistead

    I love this plugin! Unfortunately, it doesn't work "right out of the box" with my template. Nothing else has, so I know it isn't because of the plugin - apparently, it's just an odd template. The template didn't come with its own 404 page, but I've tried customizing the plugin and now MOST of the results are showing up properly. Unfortunately, the "404" part is still where the left sidebar should begin, and the sidebar content isn't appearing 'til after the plugin-generated content is finished in the main container of the page.
    I realize that might not make any sense, but you can see what I mean at

    Any suggestions?


  • flys

    Just a question.
    Can I cut off the results for the Web-Blog-video-immagine-cse ? i would like to delete that folder ...

  • A wordpress fan

    You are using google Ajax search API, my question is can we use a single google api id for wordpress plugin development? A little off topic, but I will really appreciate your answer.

  • Nocom

    Nice plugin, thanks AskApache.

  • old guide

    Nice plug-in, BUT it screws up my template. It moves the second sidebar down under the text for the plug-in which makes it look pretty strange. I have tried changing the CSS to correct for this, but my changes have done nothing.

    So right now your plug-in is not usable. Undoubtedly some operator error somewhere, but I don't know where so I have deactivated the plug-in until I hear a solution.

  • John Clinebell

    have no idea how this works... i have my blog hosted on another folder:

    does this mean i need to do something to the plugin so that it looks in the right directory? it just gives me a page not found:

    Not Found

    The requested URL /404/test-404-page-plugin-askapache-wordpress-plugin-search-engine.html was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Please anyone help!!! :)

  • Sergey

    Hello to everybody.
    Is this plugin processing only 404 errors?
    How can I make it process other errors?
    Thank u.

  • Pedro

    The problem I have it is that GOOGLE API doesn't me using permalinks! It thinks it is another directory on the website :(

  • BilZone

    Thanks a lot for this amazing plugin.
    Best regards.

  • Wolf Nibori

    Thank you VERY much for this plugin! I hope visitors get alot better experience because of it and I truly believe they will. :)

    Wish this had been around earlier and I do hope it becomes more prevalent!

  • Tom Stone, trolleri

    I just installed it (in WP.2.5.1) and it works perfectly, and I'm very grateful for your plugin. There is just one minor snag, more aestetic than important..
    At the top of the administrative part, after the phrase "SEO Boost from 404 Plugin? Focus on humans" and before the test-search box, there is a bunch of garbage code visible, looking like this (a snippet only):

    cite="http://www.">Project-Id-Version: sv_SE Report-Msgid-Bugs-To: POT-Creation-Date: 2008-04-25 15:51+0000 PO-Revision-Date: 2008-04-26 04:59+0100 Last-Translator: Mattias Tengblad Language-Team: WP-Support Sverige MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rosetta-Version: 0.1 Plural-Forms: nplurals=2; plural=n != 1 X-Poedit-Country: SWEDEN X-Generator: KBabel 1.9.1 X-Poedit

    It seems like it is trying to translate something into swedish (which is my language) and is failing miserably :)

    However - everything works perfectly at the front end, and the documentation tells everything I need to know, so I don't think there is any emergency - just wanted to let you know.

  • Andy

    Hi, first of all thanks for the plugin, this one is really cool. I have some problems, though.. The first one is that the plugin expects the blog to be in the root directory, there is no option to change that (mine is under the "blog"-folder"..)
    Second I get the weird message: WordPress database error: [Can't find FULLTEXT index matching the column list] Could you help here what columns are necessary to change?

    Thanks alot!

  • Nishu

    Man this is an amazing plugin :)
    nice work around .. will simply increase the page visits by people who just keep stumbling upon 404 pages ..

    I am wondering if this plugin can be used to create a site map

    ie. instead of showing a site map written in php.. if google search results can be presented it will be wonderful

  • R. Richard Hobbs

    AA 404 is very really great - for some reason deleted post id's dont go to the 404 page (at least not with K2) i.e. go to my site in my sig (go there first) then add /?p=247 - its "just not found" - this is not only no good for the user / there is no handling of the metadata - google webmaster tools is crying about duplicate meta descriptions for any pages like this - meh

  • jackie

    This plugin was working great but has suddeny; become odd! I've tried deleting it completly and re-installing it but the following happens...

    if i type /prince-discography/tester - the plug in works
    but if i type in /tester - the plug in ignores the 404 error and seems to just show latest posts

    any help welcome :)

  • Falcon1986

    The AskApache Google 404 v4.4 plugin does not seem to work in Wordpress 2.6. The plugin's options are still there and so is preview of search output, but none of that output is ever displayed on the 404 error page.

  • AskApache

    @ Falcon

    I'm going to be releasing a nice upgrade for this plugin sometime in the 2 weeks. It really is an incredibly helpful plugin, but I need to make it easier for people to use. :)

  • David Young

    If you're getting this error:

    "Can't find FULLTEXT index matching the column list for query"

    You need to build a fulltext index, like this:

    `post_name` ,

    - David

  • shaxx

    I think I will wait for the new version to come out after reading all those issues up there. cheers!

  • Mike Ellis

    Great plug in guys! - I like it but have had a few challenges. I recently wrote a review of the plug in. Check it out HERE.

  • fff

    Thanks for the sweet plugin.

    However, it does not work properly with Wordpress 2.6.1.

    The plugin activates appropriately and tries to work when I get 404s. But the only search tab that has any results is the CSE tab. Any idea why that would happen?

  • Andy

    Excellent plugin, Google 404 is working fine on my wordpress blog version 2.6.2, I installed it without problems or any bugs, thanks for a great share and congrats on your plugin, it helps a lot for not found or deleted post to stay on google engine.



  • Donace

    hey man great plugin; i just wondering is it possible to integrate google adsense search instead of the ajax? or your adsense id?



  • handig

    Like your plugin.

    Would be even better if it showed some adsense on top of it.

    Like described here:

    How would you do that?

  • Gary

    Hi askapache,

    You have a great site, very it's very informative! Thanks a lot!

    When I first saw this plug in I thought "how cool, what a clever idea" but after thinking about it for a bit I concluded that this isn't such a great idea after all... Why would you want to publicize and even encourage visitors to your site to go somewhere else when their intent was to visit your site?

    Unless you rank in the top 10 or so I see this as being a counterproductive idea, just my 2 cents...



    i'm not a programmer. so... it takes me few weeks googling to make this work on any server with php.
    now, you can have this same thing even if you dont have wordpress.

  • John Mueller

    How about integrating the Google enhanced 404 page widget? That would make an awesome addition to this plugin!

    Here's the intro: Make your 404 pages more useful

  • m

    Hi there,

    an option what NOT to search on google would be nice! it happend that the searchengine indexed old pages of a wiki and the webalizer directory. i'd like to hide this from the search result.


  • Amir

    Hi, I've installed the 404 plugin long back, everything was working good untill I updated my theme to the new version back in october 2008, now the plugin works good in the admin panel, but not in live 404 pages; please check this example and help me solving this out.

  • Hikari

    Interesting, I'll give a try.

  • Hikari

    I just installed the plugin. And I have a question :P

    Is there a way to change the "Related Pages to the Request" text, and remove the "More Related Pages to the Request"? I couldn't find out how to do it.

    Take a look how it is looking at my blog:

  • Hikari

    Great plugin, very good job!

    I have a question... is there a way to change the "Related Pages to the Request" text and remove the "More Related Pages to the Request"?



    [21-Feb-2009 19:29:29] WordPress database error Can't find FULLTEXT index matching the column list for query SELECT ID, post_title, post_content,MATCH (post_name, post_content) AGAINST ('images spring_flavour corner_bottom_r ight gif') AS score FROM wp_1_posts WHERE MATCH (post_name, post_content) AGAINST ('images spring_flavour corner_bottom_r ight gif') AND post_date <= '2009-02-21 19:29:29' AND (post_status IN ( 'publish', 'static' )) AND post_password ='' ORDER BY score DESC LIMIT 6 made by require, require_once, include, aa_google_404, aa_related_posts_404
  • Madmouse Blog Tips

    Installed on WordPress 2.71, not sure if it is working at 100%.

  • Patrick Mackaaij

    I just updated to At first it did not work but after re-entering my API key it did. The results are not IN the page anymore but BELOW. Any idea how to fix this? See i.e.:'t-exist/

    I remember fiddling around for hours with something like this last time and the options of the plugin have changed so I though instead of fiddling several hours I'll try my luck here first :-)

    Thanks in advance,

    Patrick Mackaaij

  • Andy

    Somehow the options (API key and co) don't get saved on my blog (2.7.1) anymore. Happened with the last previous 3 updates of the plugin, even with the latest version 4.6 - any clue?

  • R. Richard Hobbs

    Ver configuration page jumps straight to test results only way to add the Google API is to kill loading of the page. Results page content is kind of spilled all over the rest of the page.

  • Patrick Mackaaij

    My API key was preserved today when I upgraded to I like the new settings page although I believe it should be in the Settings (not Tools) menu.

    Also got it up and running again. In the older version a child-theme file I created for my 404 page was used and now it wasn't. I just added the if () to the 404 of the theme and now it works.

    Now for some feature requests of this great plugin:

    * I'd like some help with disabling the tabs "Blog", "Web", "News", "CSE" and "Local" again. If I just comment those lines out nothing appears.

    * I'd also like to disable Video results. Google's Best Guess is fine with me but since it takes a lot of space I can image people'd like to be able to disable that too.

    * Then there's a line "Other things to try:" which I cannot locate to translate.

    * If there are no "Related articles" the title may be removed from the results or followed by a string that can be edited so I can say "Nothing to see here, mosy along" :-)

  • BlogTips

    This is very interesting plugin. I have never used this but I am soon going to use this. I am also going to write about this plugin on my blog.

  • Joseph

    The AAGoogle404 plugin starts its code in the footer of my site. I had to delete the "get_footer();" line of askapache-google-404.php so it wouldn't enclose the AA404 within the footer. It's okay, but sure would look better if the AA404 could be enclosed in the site theme's page/post area instead of inside the footer.

    I'm just not a good enough php coder to figure this one out. It's still a WAY cool plugin even though it breaks my theme - and my workaround, though not pretty, is still completely functional.

  • Matt Mauldin

    Hey guys,
    Love the 404 plugin. It was easy to install and simple to customize to match my wordpress theme.

    I did find one small error in the version In the line of PHP code given at the top of the settings page, there was a missing "?" just before the final ">". Easy fix on this end, but I wanted to help out and say thanks at the same time.

  • Dr. Michael

    I love this plugin idea... but I can't get it to work completely... It draws the green box but doesn't fill in the google data. Any ideas where I've gone wrong.

  • Dalam Hensi

    Thanks for the info! This helped me out!

  • Atul

    will try on my blog but I do have google Adsense on my blog so can I still use it?

  • Patrick Mackaaij

    I still use this plugin on my blog, it was real easy to get going as I remember.

  • Bungsu

    I love it! Thanks

  • Eric

    My google webmaster tools is saying "Verification status: NOT VERIFIED".

    When I press verify it comes up with "We've detected that your 404 (file not found) error page returns a status of 200 (Success) in the header"

  • guest
    Can we use that plugin to use Google Search API to find related post in each post based on the URL but display not videos, image but only some result of web.
    Or everyone have another plugin or idea to do it.

  • Kishan Bagaria

    This plugin works perfectly for me but at the top of the 404 page, this line appears:


    Can you tell me how can I remove it? I have checked the plugin code but could not find it. I'm using WordPress 2.8.1.

  • RobertKCole

    Great plugin, only one issue encountered - as I use a dark color as the body.custom background for my site, how can I set the .custom #page background for the 404 error page to white so all the text will display and the page will look similar to the rest of my blog?

    Any suggestions?

  • SEO Company

    Great plugin, thanks. Have installed on my blog

  • Dawning

    I love this plugin, however I'm having a problem where activating it kills logging of 404's as provided by the Redirect Plugin (

    The main site I maintain has users that rely on those 404 messages from that plugin, so I can't leave this plugin active until I find a way for both to work together.

    I'd really like a hand with this, it'd help me a lot. I'm certainly willing to try and figure out a fair bit on my own, but I could really use a tip on what direction to start with.


  • Doug Vanderweide

    Thanks for a great plugin! I'm really pleased with this approach vs. the staid, headline-only errors I had been returning.

    A note for those having problems with this plug-in repeating its content at the bottom of the page: It appears that in some cases, if your theme has a 404 page, the plug-in sends the results twice. You can fix it with the code changes I note here.

  • milo

    New version (4.6.3) does not work anymore, says

    The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.

  • Piotr


    I use WPMU divided into several sites and I need centralised 404 handling. If I use your plugin, will it be ok if I just install it for the master (main domain name) blog, or do I need to install it for every separate blog?


  • Desean

    I made a simple feature request at forums. I hope this could be looked at. Thanks.

  • Chris

    Hello! This plugin is great! It works more or less fine now. Unfortunately there are two problems remaining. The related posts output doesn't seem to work. But that's no issue. I could disable the feature. The second problem is, that the general output is doubled:

    How can i fix this?

  • Kimberly

    I had activated and was easy to use but it started sending posts in my RSS feed about the plugin as if it was written on my site by me to my subscribers. Not sure what is going on here but have deactivated it and will send an immense apology to my subscribers for a post of yours that appears in my feed since the plugin was activated. I am hoping this is a weird occurrence and not part of the set-up of the plugin itself.

    Any insight or same situation for others??

  • Serge Norguard

    having any issue with the plugin , it works fine however i get the following .

    Any ideas or suggestion ?

  • Joseph Crawford

    There seems to be a bug in the latest version. I have never seen this happen until today but it is happening on 2 sites.

    On some pages notice how the 404 page is showing twice, once in the 404.php and then once after the footer, not quite sure why this is happening.

  • Erin

    Thanks AskApache - I really like this plugin.

    However, the HTML results appear twice on the page. This occurs even the aa_google_404 function is the only line on the 404.php template.

    What happens is the 404 Plugin renders normally - functionally, it does exactly what it's supposed to do. When it gets to the end, it reprints everything in the HTML section of the Plugin Settings. If I check the source, I see tags where they should be, but the 404 Plugin code is repeated below the closing .

    I'd love to hear if this has happened to any of you, and what you did to fix it. Cheers!


  • Matt Talbert

    I'm having an issue where the plugin is duplicating the content. I have a 404.php which calls the plugin. And it then renders the site as I would expect, except that underneath the footer it then displays the entire body of the site with the 404 stuff again. Any ideas what I set up wrong? This is a fantastic plugin and I really appreciate your help.

  • Dee

    Works fantastic! Thanks so much. Plugin is light and simple. but very robust!

  • R. Richard Hobbs

    Great plugin :) - I have been using AA404 for some time :) - however, one mildly annoying problem is after the first instance of loading the config page (plugins/settings/AA404 ) in WP 2.7 forward (running 2.84 currently) the config page automatically jumps to the large preview and the settings cannot be examined or changed. The plugin must be deactivated and reactivated in order to examine / change the settings.

  • R. Richard Hobbs

    Latest version AA404 is *really* nice - Thanks ! :)

  • Jörg Schüler

    First, thanks for this great plugin but i install it some minutes before and there is a great problem with the popular theme "inove".
    It crash all the sidebars from the right to bottom.
    Any solution available?

  • Erin Smale

    @ Jörg Schüler

    I had similar issues. Save this code as /wp-content/themes/inove/404.php (remember to make a backup of the original '404.php' file):

    Good luck!

  • Jake

    This plugin seemed like a great idea. The problem I'm having is that the main reason I wanted it was to handle expired posts that people find in search but are no longer there. But your plugin just keeps coming up with the same expired posts for its results. :(

  • radikal zen

    I think its error, I can click on save button.
    Iam using Version and wp 2.8.4.

    Any suggestion ??

  • SuN.

    How to remove the videos at side??

  • cilene

    I don't see any options or boxes? and I Clicked the top-right "screen options" then click the "2" under "Number of Columns", etc, but no works.

  • Raul Nunes


    could you please help me? I'm working on a site to a big company here in Portugal and I would like to use your plugin. But I have two problems:
    - Options don't save
    - My theme gets all messed up as you can see if you go to

    Many thanks,
    Raul Nunes

  • Bill Wood

    I recently upgraded to Wordpress 3.0

    In the process I have been having trouble getting the 404 Google page to work. When I go into the plugin to activate it I am unable to save the change. If you can tell me what entry to update in the DB I would be happy to manually change that if necessary.


    Here is what I am getting:

    Message: 'postboxes' is undefined
    Line: 465
    Char: 106
    Code: 0
    URI: http://SITE/wp-admin/options-general.php?page=askapache-google-404.php
    THAT ERROR MESSAGE is referring to this line of code:
    var codepress_path = "http://SITE/wp-includes/js/codepress/";jQuery(document).ready(function($){postboxes.add_postbox_toggles("askapachegoogle");});
    And the character space 106 is this SECTION OF THAT CODE

    Somewhere along the line the CODEPRESS file folder under admin was eliminated. I don't know if it was with a plugin I uninstalled, etc., but it was no longer there. I copied it back from an older backup of my site but I still get the same message and the same reference.

    Your help would be GREATLY appreciated...

  • anannur

    salam kenal....

  • Khal

    Is anyone having problems with the newest version (4.8.0)?
    After activating and clicking on "AA Google 404" under settings, I'm getting the following error message:

    Fatal error: Call to undefined function set_current_screen() in /web/twitter/public_html/wp-content/plugins/askapache-google-404/askapache-google-404.php on line 232

    Any thoughts?

  • R. Richard Hobbs

    latest ver 4.8 throws a php error 232 on upgrade :(

  • G. McAlpin

    Hi There,

    I would like to modify the CSS and/or Javascript so that the Video and Image search results to not display but I can't quite figure out which Divs those are placed into. Could someone point me in the right direction please? Maybe in future releases in the admin panel you could have check boxes to select what elements you want displayed instead of making the users modify the code themselves. Otherwise, this is a great plugin.


  • Dmitrii Ro

    When I try to go to the Settings page, I receive the following eroor:

    "Fatal error: Call to undefined function set_current_screen() in /wp-content/plugins/askapache-google-404/askapache-google-404.php on line 232"

    Can you help me with this?

    WordPress 2.8.5 @ Apache 2

  • Esben Rasmussen

    I have just installed this plugin on my website and the intentions of the plugin seems to be doing everything I need... At the moment my website does not have much content, but I do have two blog articles.

    Now when I enter "wordpress" the resulting 404 page shows: Googles Best Bid (0). There are no results from my website here and neither in the first tab "". However, in the second tab "Blog" there are two results from my website - both from the same article on page-templates.

    Now my question is: How come that not one of the two results is shown as "Googles Best Bid", since these are matches from my website?

    If I have to do it myself - what is then needed for adding one (e.g. the first) result from the "Blog" tab to the "Googles Best Bid"?

    Thanks for an otherwise great plugin.

  • Mark Gardner

    We are currently running WP ver. 2.9.1 and this plugin was working great until a few days ago. We haven't changed anything or installed anything but now when we click the "settings" link for this plugin we get:

    Fatal error: Call to undefined function set_current_screen() in wp-content/plugins/askapache-google-404/askapache-google-404.php on line 232

    I can activate/deactivate and edit the plugin but no the settings link. I am stumped as I have uninstalled and reinstalled the plugin and still get the same result.

    It's a thinker for sure.

  • Jeffery Wright

    I installed your "update" and now I cant get to my admin panel!

    Fatal error: Cannot redeclare set_current_screen() (previously declared in /www/wp-content/plugins/askapache-google-404/askapache-google-404.php:63) in /www/wp-admin/includes/template.php on line 3948


  • mastro

    whit the last update admin area shows blank pages.

  • Jeffery Wright

    The only way I was able to access my admin pages was to delete this plugin from the plugins directory via ftp. Now everything works fine, but I have to use my default 404 page, which is better than not being able to admin my site.

  • Harriman Hikers

    >>> The only way I was able to access my admin pages was to delete this plugin from the plugins directory via ftp. Now everything works fine, but I have to use my default 404 page, which is better than not being able to admin my site.

    <<< way to recover admin panel is as you say (or rename folder) if you delete that folder and dl / install previous version ( from WP Plugins page you should be able to recover functionality of plugin (as of that version...) until issues w latest version have been worked out. At the same time, please note: we have only been able to get to work w WP 3.0 - was broken in 2.9 till we upgraded to 3.0

  • Britt

    Why does the css editor not work? I even tried changing the css file direct, then ftp and still no changes. Im also using Firebug and can't locate where these css codes are located. I'm trying to alter the colors to fit my website on my 404 error page and the google widget can't be customized for the colors.

    Can anyone tell me how to find the gsc-tabHeader gsc-tabhActive elements to change? Firebug says its on line 367 but the css file only has less than 30. I'm assuming this is from the file called orig.css and not the admin.css

  • Britt

    What is up with the css file? I can't change it eith in the admin wp or direct?

  • R. Richard Hobbs working in WP 3.01 :)

  • Panagiotis

    hi. i have your plug in and it sure was helpful!

  • papabear

    It's pushing my sidebar down. changing the CSS did not change anything as my sidebar was still pushed down. Read that others have the same problems. Deactivating it now until the sidebar issue has been resolved. Hope to hear from you soon. I am using version

    Thanks and have a nice day!

  • joels

    i have 2 website at different host, once i setup works perfectly.. but in other site, i cant save setting that i configured, when i click save button the page rediectly to 404 page not come back to admin dashboard. i knew that this is something with hosting issue, but i hope i can use this plugin at all my hostings, please tell me what to do ?

    thank you

  • Trish

    I have been unable to verify Google to the AskApache Search Engine Verify plugin. I am not sure what Authorization key it is asking for.
    I have tried using the verification key that I used in Google Webmaster Tools to verify my site there but
    when I add it to the plugin setup page it is not working.

    What am I not understanding here?

    Thank you,


  • Jeremy Meyers

    I've been using this plugin for awhile, and I'm glad you're thinking about updating it. I've noticed an infrequent bug which may or may not be caused by the 404 plugin, where hitting "update" on a post or a page occasionally leads to either a 404 error or redirects to a random page on the site.

    Has anyone else experienced/reported this? This is the only plugin in common across all my sites that have this weirdness.

  • Lee

    Love the plugin, but the Admin seems to have several 404 errors in the CSS file looking for images that simply do not exist.

  • Board Directory


    I'm using this plugin on my blog and I find it to be the best 404 display page plugin out there!

    I however don't use the recent, similiar or tags on the 404 page as that looks messy.

    I like how detailed you can style the 404 page.


  • BD

    Hello again

    I think I got one complaint about this plugin. Each time you deactivate it and at a later time activate it again, you have to re-do all the settings you once set.

    It doesn't store the settings into the db like most plugin do why?

  • AskApache

    @BD ~

    Needs to be updated.. working on it.. (please report any other issues you find)

  • Laboratory

    Thank you very much. It really works, thank you again.

  • Jack

    Installed your plug-in and it was operating fine. Not sure what triggered the problem, but now all of the content that would ordinarily be generated and displayed is "missing."

    Viewing any of the editors in the admin panel (CSS, JS, & HTML) reflects there is no content (save one lone alpha character). My recollection is these areas were filled with code upon the original install. All attempts to edit or add new code results in no information being saved... almost as if there's some data corruption taking place.

    I've deleted and re-installed the plug-in several times to no avail. Any suggestions on where to go from here?

  • alvin salvador

    What Google API key we need now? I believe "google ajax search api" is now deprecated so it leave the 404 page blank and empty. The update don't have changelog to see what's the update is all about, does it fix in the update?

  • http://URL Jonathan

    Thanks for this great plugin.
    I was trying to implement it on a site using the Pagelines pro template. However, I found the layout was messed up by the 404 page. It would cause the widgets to display under the main page area, and not to the right where they should be. The 404 error would stretch from the far left to the far right of the content area rather than a few pixels in from the left and a few pixels in from the sidebar (now pushed to the bottom) on the right side.

    Let me know how I can assist in resolving this, or how I can implement it better so this is not the effect it has.

  • Pingback: Plugin Wordpress “tăng lực” cho trang 404 trên blog của bạn | VNCNTT.NET - THẾ GIỚI CÔNG NGHỆ THÔNG TIN - CHIA SẼ - KIẾN THỨC - THỦ THUẬT - PHẦN MỀM - WINDOWS - DOWNLOAD - TIPS - KEY - CRACK FULL -SERIAL

  • Pingback: Membuat Halaman 404 not found ( Tidak Ditemukan ) Lebih Friendly Menggunakan plugin "AskApache Google 404" | inforiatif

  • Pingback: 8 Plugin giúp tạo trang 404 thân thiện và hiệu quả cho Website Wordpress

  • Pingback: Les plugins Wordpress de ce blog

  • 404 5.0

    5.0.0 Works!!

  • seoactivist

    aloha askapche

    Thank You

    this is an awesomely enabling plugin, and i will use it as well as i can :)

    have learned so much from your site, can't even say it... just thanks!


  • AskApache

    The latest update fixes this!

  • AskApache

    Try it now, better then ever

  • Sharif Uddin

    I am still recieveing this problem. Using wordpress 4.1 and plugin v5.0.2. i get a console log error "The Google Web Search API has been officially deprecated. For more information on its deprecation, see We suggest you migrate to the Google Custom Search API. (see"

Related Articles

My Online Tools
Popular Articles

Hacking and Hackers

The use of "hacker" to mean "security breaker" is a confusion on the part of the mass media. We hackers refuse to recognize that meaning, and continue using the word to mean someone who loves to program, someone who enjoys playful cleverness, or the combination of the two. See my article, On Hacking.
-- Richard M. Stallman


It's very simple - you read the protocol and write the code. -Bill Joy

Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution 3.0 License, just credit with a link.
This site is not supported or endorsed by The Apache Software Foundation (ASF). All software and documentation produced by The ASF is licensed. "Apache" is a trademark of The ASF. NCSA HTTPd.
UNIX ® is a registered Trademark of The Open Group. POSIX ® is a registered Trademark of The IEEE.

+Askapache | askapache

Site Map | Contact Webmaster | License and Disclaimer | Terms of Service

↑ TOPMain