WordPress.org

Plugin Directory

Google 404

Add Google search capabilities to your site's 404 "page not found" template.

You should first set up a Google webmaster account and submit an XML sitemap of your site to ensure the Google 404 widget works effectively.

  1. Download the archive file and uncompress it.
  2. Put the "google-404" folder in "wp-content/plugins"
  3. Enable in WordPress by visiting the "Plugins" menu and activating it.
  4. Add the following code to your 404.php template.
<?php if ( function_exists( 'google404' ) ) google404(); ?>

You could also add this code to your theme's index.php, single.php, image.php, archive.php and search.php below the HTML that is displayed if no posts are present (where you insert this may vary from theme to theme).

You may also use the google_404_styles and google_404_language filters for manually overriding the CSS values or language used by the Google 404 widget.

Requires: 2.5 or higher
Compatible up to: 4.0.1
Last Updated: 2014-9-30
Active Installs: 500+

Ratings

0 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
100,2,2
0,1,0
100,1,1
100,1,1
100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,2,2