Title: genius 404
Author: Hussam Hussien
Published: <strong>01.04.2015</strong>
Last modified: 01.04.2015

---

Поиск плагинов

![](https://ps.w.org/genius-404/assets/banner-772x250.png?rev=1125145)

Этот плагин **не тестировался с последними 3 основными выпусками WordPress**. Скорее
всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

![](https://s.w.org/plugins/geopattern-icon/genius-404_de5239.svg)

# genius 404

 Автор: [Hussam Hussien](https://profiles.wordpress.org/hussam7ussien/)

[Скачать](https://downloads.wordpress.org/plugin/genius-404.zip)

 * [Детали](https://ru.wordpress.org/plugins/genius-404/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/genius-404/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/genius-404/#installation)
 * [Разработка](https://ru.wordpress.org/plugins/genius-404/#developers)

 [Поддержка](https://wordpress.org/support/plugin/genius-404/)

## Описание

Save your visitors from unhelpful 404 errors!

Instead of quickly giving up when a visitor reaches content that doesn’t exist, 
make an effort to guess what they were
 after in the first place. This plugin will
perform a search of your posts, pages, tags and categories, using keywords from 
the requested URL. If there’s a match, redirect to that content instead of showing
the error. If there’s more than one match, the 404 template can use some template
tags to provide a list of suggestions to the visitor.

### Template tags

_`genius404\_has\_suggestions`_

Returns true if there are some suggestions, false otherwise

_`genius404\_get\_suggestions`_

Retrieve an array of post objects for rendering manually.

_`genius404\_suggestions`_

Draw a list of suggested posts.

Pass the parameter «list» to render suggestions as a list.

_`genius404\_loop`_

Query posts for use in a Loop. Eg:

    ```
    <?php genius404_loop(); ?>
    <?php while (have_posts()) : the_post(); ?>
        <h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
        <?php the_excerpt(); ?>
    <?php endwhile; ?>
    ```

Note that the loop will not display pages correctly, as it is not built to support
them. It is recommended that if you use
 a loop like that above, do not enable searching
of pages.

_`genius404\_get\_search\_terms`_

Retrieve an array of search terms used to populate the suggestions list, for use
with contextual highlighting, etc.

## Установка

 1. Unzip the package, and upload `genius404` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Place `<?php genius404_suggestions() ?>` in your 404 template to list suggested
    posts, or see ‘Template tags’ for more information.

## Отзывы

![](https://secure.gravatar.com/avatar/770f865414250384adcba9fc3fcf0dbb0f6bbaca5726478973789d2650025bdf?
s=60&d=retro&r=g)

### 󠀁[Good idea with room to improve](https://wordpress.org/support/topic/good-idea-with-room-to-improve/)󠁿

 [philipjewell](https://profiles.wordpress.org/philipjewell/) 03.09.2016 1 ответ

I went ahead and enabled the plugin as I did not want to write rewrite rules for
all my removed posts. Luckily it worked for one of the more important posts I had.
But for the other 3/4 of my posts, it did not work. Took me to the 404 page I was
trying to avoid. I would recommend something I feel is a simple task, for such a
plugin: if it doesn’t not have any similar matches under the categories, posts, 
or pages, to run a search based off the URI simply running like: mydomain.com/?s
=<uri> Just an idea I feel can make a huge improvement where the plugin lacks and
make it a more widely used plugin.

 [ Посмотреть 1 отзыв ](https://wordpress.org/support/plugin/genius-404/reviews/)

## Участники и разработчики

«genius 404» — проект с открытым исходным кодом. В развитие плагина внесли свой 
вклад следующие участники:

Участники

 *   [ Hussam Hussien ](https://profiles.wordpress.org/hussam7ussien/)

[Перевести «genius 404» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/genius-404)

### Заинтересованы в разработке?

[Посмотрите код](https://plugins.trac.wordpress.org/browser/genius-404/), проверьте
[SVN репозиторий](https://plugins.svn.wordpress.org/genius-404/), или подпишитесь
на [журнал разработки](https://plugins.trac.wordpress.org/log/genius-404/) по [RSS](https://plugins.trac.wordpress.org/log/genius-404/?limit=100&mode=stop_on_copy&format=rss).

## Мета

 *  Версия **1.0**
 *  Обновление: **11 лет назад**
 *  Активных установок: **10+**
 *  Версия WordPress ** 2.6 или выше **
 *  Совместим вплоть до: **4.1.42**
 *  Язык
 * [English (US)](https://wordpress.org/plugins/genius-404/)
 * Метки:
 * [404](https://ru.wordpress.org/plugins/tags/404/)[redirection](https://ru.wordpress.org/plugins/tags/redirection/)
   [search](https://ru.wordpress.org/plugins/tags/search/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/genius-404/advanced/)

## Оценки

 3 из 5 звёзд.

 *  [  0 5-звездный отзыв     ](https://wordpress.org/support/plugin/genius-404/reviews/?filter=5)
 *  [  0 4-звездный отзыв     ](https://wordpress.org/support/plugin/genius-404/reviews/?filter=4)
 *  [  1 3-звездный отзыв     ](https://wordpress.org/support/plugin/genius-404/reviews/?filter=3)
 *  [  0 2-звездный отзыв     ](https://wordpress.org/support/plugin/genius-404/reviews/?filter=2)
 *  [  0 1-звездный отзыв     ](https://wordpress.org/support/plugin/genius-404/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/genius-404/reviews/#new-post)

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/genius-404/reviews/)

## Участники

 *   [ Hussam Hussien ](https://profiles.wordpress.org/hussam7ussien/)

## Поддержка

Есть что сказать? Нужна помощь?

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/genius-404/)

## Пожертвование

Хотите поддержать улучшение этого плагина?

 [ Пожертвовать на развитие плагина ](http://atastypixel.com/blog/wordpress/plugins/genius-404/)