Описание
Перенаправление — самый популярный менеджер перенаправления для WordPress. С его помощью вы можете легко управлять 301 переадресацией, отслеживать ошибки 404 и обычно убирать любые свободные концы, которые может иметь ваш сайт. Это может помочь уменьшить ошибки и улучшить рейтинг вашего сайта.
Перенаправление предназначено для использования на сайтах с несколькими переадресациями на сайты с тысячами переадресаций.
Он был плагином WordPress более 10 лет и был рекомендован бесчисленное количество раз. И это бесплатно!
Полная документация можно найти на https://redirection.me
Переадресация совместима с PHP от версии 7.2 до 8.4.
Менеджер перенаправления
Создавайте и управляйте переадресацией быстро и легко, не требуя знаний Apache или Nginx. Если ваш WordPress поддерживает постоянные ссылки, вы можете использовать перенаправление для перенаправления любого URL-адреса.
There is full support for regular expressions so you can create redirect patterns to match any number of URLs. You can match query parameters and even pass them through to the target URL.
Плагин также может быть настроен для контроля, когда изменения постов или страниц будут изменены, и автоматически создаст перенаправление на новый URL-адрес.
Условные перенаправления
В дополнение к прямому сопоставлению URL-адресов вы можете перенаправить на основе других условий:
- Статус входа — перенаправление, только если пользователь вошел в систему или вышел из системы
- WordPress capability — redirect if the user is able to perform a certain capability
- Браузер — перенаправление, если пользователь использует определенный браузер
- Referrer — перенаправление, если пользователь посетил ссылку с другой страницы
- Cookies — redirect if a particular cookie is set
- HTTP headers — redirect based on a HTTP header
- Custom filter — redirect based on your own WordPress filter
- IP address — redirect if the client IP address matches
- Server — redirect another domain if also hosted on this server
- Page type — redirect if the current page is a 404
Полная регистрация
Конфигурируемый параметр ведения журнала позволяет просматривать все переадресации, происходящие на вашем сайте, включая информацию о посетителе, используемом браузере и реферере. Счет «ударов» поддерживается для каждого перенаправления, чтобы вы могли видеть, используется ли URL.
Журналы могут экспортироваться для внешнего просмотра, и их можно искать и фильтровать для более детального изучения.
Display geographic information about an IP address, as well as a full user agent information, to try and understand who the visitor is.
You are able to disable or reduce IP collection to meet the legal requirements of your geographic region, and can change the amount of information captured from the bare minimum to HTTP headers.
You can also log any redirect happening on your site, including those performed outside of Redirection.
Добавить HTTP-заголовки
HTTP headers can be added to redirects or your entire site that help reduce the impact of redirects or help increase security. You can also add your own custom headers.
Трек 404 ошибки
Перенаправление будет отслеживать все ошибки 404, которые происходят на вашем сайте, что позволяет отслеживать и устранять проблемы.
Errors can be grouped to show where you should focus your attention, and can be redirected in bulk.
Query parameter handling
You can match query parameters exactly, ignore them, and even pass them through to your target.
Migrate Permalinks
Changed your permalink structure? You can migrate old permalinks simply by entering the old permalink structure. Multiple migrations are supported.
Apache & amp; Поддержка Nginx
По умолчанию перенаправление будет управлять всеми переадресациями с помощью WordPress. Однако вы можете настроить его, чтобы перенаправления автоматически сохранялись в файле .htaccess и обрабатывались самим Apache.
Если вы используете Nginx, вы можете экспортировать перенаправления в файл правил перезаписи Nginx.
Fine-grained permissions
Fine-grained permissions are available so you can customise the plugin for different users. This makes it particularly suitable for client sites where you may want to prevent certain actions, and remove functionality.
Импорт & amp; экспорт
Плагин имеет полнофункциональную систему импорта и экспорта, и вы можете:
- Импорт/экспорт в Apache .htaccess
- Экспорт в правила перезаписи Nginx
- Копировать перенаправления между сайтами с помощью JSON
- Импорт и экспорт в CSV для просмотра в электронной таблице
- Используйте WP CLI для автоматизации импорта и экспорта
Вы также можете импортировать из следующих плагинов:
- Простые 301 переадресации
- Перенаправление SEO
- Менеджер безопасного переадресации
- Rank Math
- Переадресация старых писем WordPress
- Quick Post/Pages redirects
Search Regex compatible
Redirection is compatible with Search Regex, allowing you to bulk update your redirects.
Подождите, это бесплатно?
Да, это действительно бесплатно. Там нет премиальной версии и не нужно платить деньги, чтобы получить доступ к функциям. Это специальный плагин управления перенаправлением.
Пакет
Пожалуйста, отправьте ошибки, исправления и запросы функций:
https://github.com/johngodley/redirection
Отправьте перевод на:
https://translate.wordpress.org/projects/wp-plugins/redirection
Скриншоты
Установка
Плагин прост в установке:
- Загрузите
redirection.zip - Распаковывать
- Загрузите каталог
redirectionв каталог/ wp-content / plugins - Перейдите на страницу управления плагином и включите плагин
- Настройте параметры на странице
Tools/Redirection.
Подробные сведения об установке плагина можно найти на странице страницы установки плагина .
Полная документация можно найти на сайте Redirection.
Часто задаваемые вопросы
-
Почему я хочу использовать это вместо .htaccess?
-
Простота использования. Перенаправления автоматически создаются при изменении URL-адреса почты, и гораздо проще вручную добавлять перенаправления, чем взломать .htaccess. Вы также получаете дополнительное преимущество в том, чтобы отслеживать ошибки 404.
-
Какова производительность этого плагина?
-
Плагин работает так же, как WordPress обрабатывает постоянные ссылки и не должен приводить к заметному замедлению вашего сайта.
Отзывы
Участники и разработчики
«Перенаправление» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
Участники«Перенаправление» переведён на 28 языков. Благодарим переводчиков за их работу.
Перевести «Перенаправление» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
A x.1 version increase introduces new or updated features and can be considered to contain ‘breaking’ changes. A x.x.1 increase is purely a bug fix and introduces no new features, and can be considered as containing no breaking changes.
5.6.0 — 1st January 2026
- Streamlined bundle size
- Update for WP 6.9
- Bump minimum PHP to 7.2
5.5.2 — 16th February 2025
- Fix saving of x-frame-options
- Fix CPT loading
- Fix last access date changing on update
- Remove newsletter option
5.5.1 — 24th November 2024
- Fix problem with category pages and permalink migration
- Don’t report invalid JSON import as successful
- Exclude CPTs without URLs for monitoring
- Update for WP 6.7
5.5.0 — 10th August 2024
- Multiple ‘URL and WP page type’ redirects will now work
- Translations now use WP core
5.4.2 — 27th January 2024
- Remove Geo IP option (it may return)
- Fix crash in agent info
- Add new max-age header
- Remove deprecated ini_set call
- Don’t double encode URLs when checking
5.4.1 — 5th January 2024
- Fix problem with some international URLs not appearing in the 404 log
5.4 — 1st January 2024
- Don’t encode negative lookaheads
- Remove port from server name
- Importing into a disabled group now creates disabled items
- Add option to pick IP header
- Fix save of x-content-type-options: sniff
- Fix save of multiple spaces
5.3.10 — 2nd April 2023
- Fix associated redirect setting not saving properly
5.3.9 — 25th January 2023
- Fix incorrect sanitization applied to target URLs
5.3.8 — 22nd January 2023
- Fix app rendering twice causing problems with upgrades
- Fix CSV header being detected as an error
5.3.7 — 8th January 2023
- Fix problem with locales in certain directories
- Fix incorrect import of empty CSV lines
- Don’t encode regex for Nginx
5.3.6 — 12th November 2022
- Fix for sites with a version of +OK
- Another fix for CZ locale
5.3.5 — 6th November 2022
- Fix crash on options page for Czech language
5.3.4 — 14th September 2022
- Fix query parameter name with a + not matching
5.3.3 — 7th September 2022
- Fix default HTTP header not being set when first used
- Fix incorrect column heading in CSV
- Fix passing of mixed case parameters
5.3.2 — 6th August 2022
- Fix missing props error
- Fix missing value for .htaccess location display
5.3.1 — 29th July 2022
- Fix crash caused by bad translations in locale files
- Fix query match not working when it contained mixed case
- Fix missing flag in .htaccess export
5.3.0 — 21st July 2022
- Improve installation process
- Improve permalink migration so it works with more permalinks
- Prevent ordering columns by HTTP code
- Better encode URLs in Nginx export
- Allow escaped characters to work in the redirect checker
- Reduce CSV import time
5.2.3 — 6th February 2022
- Fix error when grouping by URL, adding redirect, and then adding another redirect
- Add a warning for unescaped ? regex
5.2.2 — 22nd January 2022
- Further improve URL checker response to clarify responsibility
- Fix WordPress and pagetype match preventing the logging of 404s
- Fix title field being inactive
- Fix CSV export having duplicate column
5.2.1 — 16th January 2022
- Include path with inline URL checker
5.2 — 15th January 2022
- Improve URL checker and show more details
- Retain query parameter case when passing to target URL
- Remove unnecessary database stage option check
- Совместимость с PHP 8.1
5.1.3 — 24th July 2021
- Fix geo IP on log pages showing an API redirected error
- Fix crash when changing match type in edit dialog
5.1.2 — 17th July 2021
- Fix random redirect not working
- Fix [userid] shortcode returning 1
5.1.1 — 11th April 2021
- Revert the permalink migration improvement from 5.1 as it’s causing problems on some sites
5.1 — 10th April 2021
- Add importer for PrettyLinks
- Fix crash converting a ‘do nothing’ to ‘redirect to URL’
- Improve warning messages
- Improve permalink migration when is_404 is not set
- Fix ‘delete log entries’ returning blank data
- Fix missing .htaccess location
- Fix hits & date not imported with JSON format
5.0.1 — 26th Jan 2021
- Fix incorrect warning when creating a regular expression with captured data
- Fix JS error when upgrading a database with a broken REST API
- Increase regular expression redirect limit
- PHP8 support
5.0 — 16th Jan 2021
- Add caching support
- Add support for migrated permalink structures
- Add dynamic URL variables
- Add fully automatic database upgrade option
- Add a new version release information prompt
- Improve performance when many redirects have the same path
- Move bulk all action to a separate button after selecting all
- Fix error in display with restricted capabilities
- Avoid problems with 7G Firewall
- Improve handling of invalid encoded characters






