SEO Boost from Google 404 Plugin

FREE THOUGHT · FREE SOFTWARE · FREE WORLD

SEO Boost from Google 404 Plugin

Demo | Download | Installation | FAQ | Screenshots / Video

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.

Updated: 01/26/2008
Install Time: 10 seconds to 5 minutes
Install Difficulty: Super Easy

Demo 404 Error Page

Click Image

Heads Up: I’ve been thinking about ways to improve this plugin for awhile now, and I’m going to be releasing an upgrade in the coming weeks! Any specific feature requests let me know~

Downloads

404.php Installation

  1. Upload zip/tar.gz file to the /wp-content/plugins/ directory and unzip.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to your Options Panel and open the “AA Google 404″ submenu. /wp-admin/options-general.php?page=askapache-google-404.php
  4. Enter in your Google Search API Key and hit the “Update Key” Button. (Get One)
  5. Add the code to your 404.php template page by including in your main content area.

Frequently Asked Questions

Do I need a Google Account?

Yes.

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.

What is a Google API Key?

The Google Ajax API Key

How do I get a Google API Key?

Get Google API Key

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


More Info from Google


«
»

Leave your own comment

Reader Comments

  1. sevgi ~

    bu güzel paylaşim icin teşekkür ederim seslinerede ekibi olark saygi ve sevgilerimi sunarim sevgi

  2. WordPress Optimizations and Search Engine Rankings ~

    [...] your links come up more often, without being searched for. One of those ways is a plugin called AskApache Google 404. I have it installed on both of my blogs. Go ahead; click this link to test it: Google at Untwisted [...]

  3. 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.

  4. SuN. ~

    How to remove the videos at side??

  5. radikal zen ~

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

    Any suggestion ??

  6. 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. :(

  7. 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!

  8. 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?

  9. R. Richard Hobbs ~

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

  10. 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.

  11. Dee ~

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

  12. 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.

  13. 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!

    -Erin

  14. 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.

  15. Serge Norguard ~

    having any issue with the plugin , it works fine however i get the following http://gallery.dustyhawk.com/albums/userpics/404heat1.jpg .

    Any ideas or suggestion ?

  16. 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??

  17. 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?

  18. Desean ~

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

  19. Piotr ~

    Hi,

    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?

    Cheers,
    Piotr

  20. 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.

  21. 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.

  22. 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 (http://wordpress.org/extend/plugins/redirection/).

    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.

    Thanks!

  23. SEO Company ~

    Great plugin, thanks. Have installed on my blog

  24. 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?

  25. Kishan Bagaria ~

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

    ob_start_detected

    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.

  26. guest ~

    http://wordpress.org/support/topic/287660
    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.

  27. 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”

  28. Bungsu ~

    I love it! Thanks

  29. Patrick Mackaaij ~

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

  30. Atul ~

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

  31. Dalam Hensi ~

    Thanks for the info! This helped me out!

  32. 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.

  33. 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 4.6.2.2. 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.

  34. 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.

  35. 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.

  36. Patrick Mackaaij ~

    My API key was preserved today when I upgraded to 4.6.2.2. 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” :-)

  37. R. Richard Hobbs ~

    Ver 4.6.2.2 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.

  38. 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?

  39. Patrick Mackaaij ~

    I just updated to 4.6 but still have the Google results below the page. It looks like a CSS/DIV thing. Anybody good at this? :-)

  40. Patrick Mackaaij ~

    I just updated to 4.5.2.2. 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.:
    http://www.eenmanierom.nl/some-evernote-page-that-doesn’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

  41. Madmouse Blog Tips ~

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

  42. DAVE DALE ~

    MY ERROR LOGS WERE SHOWING ABOUT 80 OF THIS ERROR:

    [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
    
  43. 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”?

  44. 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: http://hikari.ws/404/mesario/voluntario/

  45. Hikari ~

    Interesting, I’ll give a try.

  46. 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.

  47. 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.

    greetings

  48. Женя ~

    Легко читается, и в тоже время много новой, важной информации. Как раз то, что нужно!:)

  49. 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

  50. dennyhalim.com ~

    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.
    http://wiki.dennyhalim.com/404-php

  51. 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…

    Gary

  52. handig ~

    Hi,
    Like your plugin.

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

    Like described here:
    http://www.profitblogger.com/custom-google-search-results-page-on-your-wordpress-with-adsense-deluxe/

    How would you do that?

  53. Donace ~

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

    Cheers

    Donace

  54. 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.

    Regards,

    Andy

  55. 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?

  56. 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.

  57. shaxx ~

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

  58. 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:

    ALTER TABLE `wp_posts` ADD FULLTEXT (
    `post_name` ,
    `post_content`
    )

    - David

  59. 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. :)

  60. 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.

  61. 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 :)

  62. 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

  63. 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

  64. 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!

  65. 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: wp-polyglots@lists.automattic.com 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.

  66. 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!

  67. BilZone ~

    Thanks a lot for this amazing plugin.
    Best regards.

  68. Pedro ~

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

  69. Sergey ~

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

  70. John Clinebell ~

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

    clinebellmusic.com/blog

    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!!! :)

  71. 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.

  72. Nocom ~

    Nice plugin, thanks AskApache.

  73. A wordpress fan ~

    Hi,
    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.

  74. flys ~

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

  75. 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 http://technomom.com/404/test-404-page-plugin-askapache-wordpress-plugin-search-engine.html

    Any suggestions?

    Thanks!
    Cyn

  76. 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 …
    thanks

  77. 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.

  78. J. Pisano ~

    AskApache,

    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.

    FYI,

    J. Pisano -mustech.net

  79. 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.

  80. Norbert ~

    Hi,

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

  81. 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>

  82. 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.

  83. 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.

    Melanie

  84. Dizajn 404 ~

    thanks for 404 plugin!

  85. Karlyn ~

    This is fabulous, thank you!

  86. 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 site.com/index.php?error=404 then it shows the googles stuff…

    What did I do wrong?

  87. 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.

  88. orasid ~

    i love it!

    cheers!

    :)

  89. Jeffro2pt0 ~

    What exactly has changed in this latest release?

  90. Adrian ~

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

  91. costa ~

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

  92. 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.

    Add

    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() )
    

    Add

    if(false!==strpos($wpdb->escape(get_query_var('name')),'404'))
    		return false;
    
    function redirect_guess_404_permalink() {
    	global $wp_query, $wpdb;
    	if ( !get_query_var('name') )
    		return false;
    		
    	if(false!==strpos($wpdb->escape(get_query_var('name')),'404'))
    		return false;
    
    	$where = "post_name LIKE '" . $wpdb->escape(get_query_var('name')) . "%'";
    
  93. Jeffro2pt0 ~

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

  94. 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.

    tia.

  95. 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();
    	}
    
  96. Jeffro2pt0 ~

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

  97. 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 ;)

  98. Jeffro2pt0 ~

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

  99. Kucing ~

    My problem is exactly same as the above!

  100. yoichi ~

    Hi,
    Thanks for this plugin.
    But for some reason I’m only getting “loading…” and nothing else.
    What could have I done wrong?

  101. 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.

  102. 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.

  103. 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.

  104. 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.

  105. 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?

  106. beej ~

    great plugin, thanks!

  107. 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.

    
    
  108. 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.

  109. omegAlfa ~

    Amazing work. Thanks.

  110. 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
    /index.php?year=2007&monthnum=09&day=14.

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

    ErrorDocument 404 /index.php?error=404
    
  111. 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 “http://chenpn.com/funny-people/”, the 404 page will load perfectly OK.

    (2) But if I typed “http://chenpn.com/2007/09/14/funny-people/”, the 404 page won’t load. But unfortunately, my permalink has the date in it.

    Is this a bug?

  112. Jason ~

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

    How do you change the search bar preset?

    Mine currently shows [co.uk or query] rather than [angrypeople.co.uk or query].

  113. 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 mustech.net/anythinghere and it will pop up.

Go for it!


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

HTML | DCMI | GRDDL | XOXO | XDMP | XFN | DOM | XML | XHTML 1.1 Strict | CSS 2.1 | W3C

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.

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

↑ TOP
Main