Redirection

説明

Redirection is the most popular redirect manager for WordPress. With it you can easily manage 301 redirections, keep track of 404 errors, and generally tidy up any loose ends your site may have. This can help reduce errors and improve your site ranking.

Redirection is designed to be used on sites with a few redirects to sites with thousands of redirects.

It has been a WordPress plugin for over 10 years and has been recommended countless times. And it’s free!

Redirect manager

Create and manage redirects quickly and easily without needing Apache or Nginx knowledge. If your WordPress supports permalinks then you can use Redirection to redirect any URL.

There is full support for regular expressions so you can create redirect patterns to match any number of URLs.

The plugin can also be configured to monitor when post or page permalinks are changed and automatically create a redirect to the new URL.

Conditional redirects

In addition to straightforward URL matching you can redirect based on other conditions:

  • Login status – redirect only if the user is logged in or logged out
  • Browser – redirect if the user is using a certain browser
  • Referrer – redirect if the user visited the link from another page

Full logging

A configurable logging option allows to view all redirects occurring on your site, including information about the visitor, the browser used, and the referrer. A ‘hit’ count is maintained for each redirect so you can see if a URL is being used.

Logs can be exported for external viewing, and can be searched and filtered for more detailed investigation.

Track 404 errors

Redirection will keep track of all 404 errors that occur on your site, allowing you to track down and fix problems.

Apache & Nginx support

By default Redirection will manage all redirects using WordPress. However you can configure it so redirects are automatically saved to a .htaccess file and handled by Apache itself.

If you use Nginx then you can export redirects to an Nginx rewrite rules file.

Import & Export

The plugin has a fully-featured import and export system and you can:

  • Import and export to Apache .htaccess
  • Export to Nginx rewrite rules
  • Copy redirects between sites using JSON
  • Import and export to CSV for viewing in a spreadsheet
  • Use WP CLI to automate import and export

You can also import from the following plugins:

  • Simple 301 Redirects
  • SEO Redirection
  • Safe Redirect Manager
  • WordPress old slug redirects

Wait, it’s free?

Yes, it’s really free. There’s no premium version and no need to pay money to get access to features. This is a dedicated redirect management plugin.

Support

Please submit bugs, patches, and feature requests to:

https://github.com/johngodley/redirection

Please submit translations to:

https://translate.wordpress.org/projects/wp-plugins/redirection

スクリーンショット

  • Redirection management interface
  • Adding a redirection
  • Redirect logs
  • Import/Export
  • Options
  • Support

インストール

シンプルなプラグインインストール:

  1. redirection.zip をダウンロード
  2. 解凍する
  3. redirection ディレクトリをサーバーの /wp-content/plugins ディレクトリへアップロード
  4. プラグイン管理ページへ移動し、このプラグインを有効化
  5. オプションの設定は Manage/Redirection ページにて可能です

You can find full details of installing a plugin on the plugin installation page.

Full documentation can be found on the Redirection page.

FAQ

インストール手順

シンプルなプラグインインストール:

  1. redirection.zip をダウンロード
  2. 解凍する
  3. redirection ディレクトリをサーバーの /wp-content/plugins ディレクトリへアップロード
  4. プラグイン管理ページへ移動し、このプラグインを有効化
  5. オプションの設定は Manage/Redirection ページにて可能です

You can find full details of installing a plugin on the plugin installation page.

Full documentation can be found on the Redirection page.

なぜ .htaccess の代わりにこれを使うのですか?

使いやすさ。 投稿URLが変更されるとリダイレクトが自動的に作成され、.htaccessを編集するよりもリダイレクトを手動で追加する方がはるかに簡単です。 404エラーを追跡できるという利点もあります。

このプラグインのパフォーマンスはどうですか ?

このプラグインは、WordPress がパーマリンクを処理する方法と似た動作をし、サイトでの目立った速度低下は引き起こしません。

評価

This is the best plugin!

This plugin is the first thing I install in a Woocommerce installation. This plugin works as it should, and it does a great job!!!

Perfect if you have loads of items in your webstore that have version and retirement rules. Using this plugin you can redirect your customers to the new version of your product!

And there are very many things this plugin does ‘behind the scenes’ , it will make your site better for visitors and for your own sanity.
Will donate again this week, very happy with functionality and the professionalism of the author. This plugin is better written than many of the so called pro plugin versions.

Top !

Plugin très efficace pour ceux qui ne veulent pas mettre les mains dans le code des fichiers.

Amazing plugin

This has always been a great plugin, but some small UI changes in recent releases have made it so much more effective. Can’t live without this one when launching a new site. Great work!

Useful solid plugin

Reliable and very helpful when changing a site … never has given me any problems, just installed it and it worked. One of those plugins that offers users what seems to be basic functionality. Recommended!

329件のレビューをすべて表示

貢献者と開発者

Redirection はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Redirection” は11ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Redirection” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

2.10 – 18th November 2017

  • Add support for WordPress multisite
  • Add new Redirection documentation
  • Add extra actions when creating redirects
  • Fix user agent dropdown not setting agent

2.9.2 – 11th November 2017

  • Fix regex breaking .htaccess export
  • Fix error when saving Error or No action
  • Restore sortable table headers

2.9.1 – 4th November 2017

  • Fix const issues with PHP 5

2.9 – 4th November 2017

  • Add option to set redirect cache expiry, default 1 hour
  • Add a check for unsupported versions of WordPress
  • Add check for database tables before starting the plugin
  • Improve JSON import memory usage
  • Add importers for: Simple 301 Redirects, SEO Redirection, Safe Redirect Manager, and WordPress old post slugs
  • Add responsive admin UI

2.8.1 – 22nd October 2017

  • Fix redirect edit not closing after save
  • Fix user agent dropdown not auto-selecting regex
  • Fix focus to bottom of page on load
  • Improve error message when failing to start
  • Fix associated redirect appearing at start of URL, not end

2.8 – 18th October 2017

  • Add a fixer to the support page
  • Ignore case for imported files
  • Fixes for Safari
  • Fix WP CLI importing CSV
  • Fix monitor not setting HTTP code
  • Improve error, random, and pass-through actions
  • Fix bug when saving long title
  • Add user agent dropdown to user agent match
  • Add pages and trashed posts to monitoring
  • Add ‘associated redirect’ option to monitoring, for AMP
  • Remove 404 after adding
  • Allow search term to apply to deleting logs and 404s
  • Deprecate file pass-through, needs to be enabled with REDIRECTION_SUPPORT_PASS_FILE and will be replaced with WP actions
  • Further sanitize match data against bad serialization

2.7.3 – 26th August 2017

  • Fix an import regression bug

2.7.2 – 25th August 2017

  • Better IE11 support
  • Fix Apache importer
  • Show more detailed error messages
  • Refactor match code and fix a problem saving referrer & user agent matches
  • Fix save button not enabling for certain redirect types

2.7.1 – 14th August 2017

  • Improve display of errors
  • Improve handling of CSV
  • Reset tables when changing menus
  • Change how the page is displayed to reduce change of interference from other plugins

2.7 – 6th August 2017

  • Finish conversion to React
  • Add WP CLI support for import/export
  • Add a JSON import/export that exports all data
  • Edit redirect position
  • Apache config moved to options page
  • 410 エラーコードを修正
  • Fix page limits
  • Fix problems with IE/Safari

2.6.6

  • Use React on redirects page
  • Use translate.wordpress.org for language files

2.6.5

  • Use React on groups page

2.6.4

  • Add a limit to per page screen options
  • Fix warning in referrer match when referrer doesn’t exist
  • Fix 404 page showing options
  • Fix RSS token not regenerating
  • 404 and log filters can now avoid logging
  • Use React on modules page

2.6.3

  • Use React on log and 404 pages
  • Fix log option not saving ‘never’
  • Additional check for auto-redirect from root
  • Fix delete plugin button
  • Improve IP detection for Cloudflare

2.6.2

  • Set auto_detect_line_endings when importing CSV
  • Replace options page with a fancy React version that looks exactly the same

2.6.1

  • Fix CSV export merging everything into one line
  • Fix bug with HTTP codes not being imported from CSV
  • Add filters for source and target URLs
  • Add filters for log and 404s
  • Add filters for request data
  • Add filter for monitoring post permalinks
  • Fix export of 404 and logs

2.6

  • Show example CSV
  • Allow regex and redirect code to be set on import
  • Fix a bunch of database installation problems

2.5

  • Fix no group created on install
  • Fix missing export key on install
  • Add 308 HTTP code, props to radenui
  • Fix imported URLs set to regex, props to alpipego
  • Fix sorting of URLs, props to JordanReiter
  • Don’t cache 307s, props to rmarchant
  • Abort redirect exit if no redirection happened, props to junc

2.4.5

  • Ensure cleanup code runs even if plugin was updated
  • Extra sanitization of Apache & Nginx files, props to Ed Shirey
  • Fix regex bug, props to romulodl
  • Fix bug in correct group not being shown in dropdown

2.4.4

  • Fix large advanced settings icon
  • Add text domain to plugin file, props Bernhard Kau
  • Better PHP7 compatibility, props to Ohad Raz
  • Better Polylang compatibility, props to imrehg

2.4.3

  • Bump minimum WP to 4.0.0
  • Updated German translation, props to Konrad Tadesse
  • Additional check when creating redirections in case of bad data

2.4.2

  • POTファイルを作成する Gulp タスクを追加
  • Fix a problem with duplicate positions in the redirect table, props to Jon Jensen
  • Fix URL monitor not triggering
  • Fix CSV export

2.4.1

  • Fix error for people with an unknown module in a group

2.4

  • Reworked modules now no longer stored in database
  • Nginx module (experimental)
  • View .htaccess/Nginx inline
  • Beginnings of some unit tests!
  • Fix DB creation on activation, props syntax53
  • Updated Japanese locale, props to Naoko
  • Remove deprecated like escaping

2.3.16

  • Fix export options not showing for some people

2.3.15

  • WordPress 4.2の管理ページでのエラーを修正

2.3.14

  • Remove error_log statements
  • Fix incorrect table name when exporting 404 errors, props to brazenest/synchronos-t

2.3.13

  • Split admin and front-end code out to streamline the loading a bit
  • Fix bad groups link when viewing redirects in a group, props to Patrick Fabre
  • Improved plugin activation/deactivation and cleanup
  • Improved log clearing

2.3.12

  • Persian translation by Danial Hatami
  • Fix saving a redirection with login status, referrer, and user agent
  • Fix problem where deleting your last group would cause Redirection to only show an error
  • Add limits to referrer and destination in the logs
  • Redirect title now shows in the main list again. The field is hidden when editing until toggled
  • Fix ‘bad nonce’ error, props to Jonathan Harrell
  • 古い WP コードを削除

2.3.11

  • Fix log cleanup options
  • More space when editing redirects
  • Better detection of regex when importing
  • Restore export options
  • 不要な保護の修正

2.3.10

  • Another compatibility fix for PHP < 5.3
  • Fix incorrect module ID used when creating a group
  • Fix .htaccess duplication, props to Jörg Liwa

2.3.9

  • Compatibility fix for PHP < 5.3

2.3.8

  • Fix plugin activation error
  • Fix fatal error in table nav, props to spacedmonkey

2.3.7

  • New redirect page to match WP style
  • New module page to match WP style
  • Configurable permissions via redirection_role filter, props to RodGer-GR
  • Fix saving 2 month log period
  • Fix importer
  • Fix DB creation to check for existing tables

2.3.6

  • Updated Italian translation, props to Raffaello Tesi
  • Updated Romanian translation, props to Flo Bejgu
  • Simplify logging options
  • Fix log deletion by search term
  • Export logs and 404s to CSV

2.3.5

  • Default log settings to 7 days, props to Maura
  • Updated Danish translation thanks to Mikael Rieck
  • Add per-page screen option for log pages
  • Remove all the corners

2.3.4

  • Fix escaping of URL in admin page

2.3.3

  • Fix PHP strict, props to Juliette Folmer
  • Fix RSS entry date, props to Juliette
  • Fix pagination

2.3.2

  • WP 3.5 compatibility
  • Fix export

2.3.0

  • Remove 404 module and move 404 logs into a separate option
  • Add Danish translation, thanks to Rasmus Himmelstrup

2.2.14

  • Clean up log code, using WP_List_Table to power it
  • ハンガリー語翻訳を更新

2.2.13

  • Fix some broken links in admin pages

2.2.12

  • Cleanup some XSS issues

2.2.11

  • Add Lithuanian
  • ベラルーシ語を追加
  • チェコ語を追加
  • Fix order of redirects, thanks to Nicolas Hatier

2.2.10

  • Fix XSS in referrers log

2.2.9

  • Fix XSS in admin menu
  • Update Russian translation, thanks to Alexey Pazdnikov

2.2.8

  • Add Romanian translation, thanks to Alina
  • Add Greek, thanks to Stefanos Kofopoulos

2.2.7

  • Better database compatibility

2.2.6

  • VaultPress からの警告を削除

2.2.5

  • Add Turkish translation, thanks to Fatih Cevik
  • Fix search box
  • 410 エラーコードを修正
  • Fix DB errors when MySQL doesn’t auto-convert data types

2.2.4

  • ハンガリー語翻訳を追加、 daSSad に感謝

2.2.3

  • Remove debug from htaccess module

2.2.2

  • Fix encoding of JS strings

2.2.1

  • More Dutch translation
  • Use fgetcsv for CSV importer – better handling
  • Allow http as URL parameter

2.2

  • オランダ語翻訳を追加
  • Props to Ben Noordhuis for a patch
  • WordPress 2.9+ only – cleaned up all the old cruft
  • Better new-install process
  • Upgrades from 1.0 of Redirection no longer supported
  • データベーステーブルの最適化

2.1.29

  • Fix problem with custom post types auto-redirecting (click on ‘groups’ and then ‘modified posts’ and clear any entries for ‘/’ from your list)

2.1.28

  • Brazilian Portuguese translation

2.1.27

  • アラビア語翻訳

2.1.26

  • WordPress 3.0の互換性

2.1.25

  • Fix deep slashes

2.1.24

  • ウクライナ語翻訳を追加
  • ポーランド語翻訳を追加
  • データベースの最適化

2.1.23

  • インドネシア語翻訳を追加
  • ドイツ語翻訳を追加
  • Add patch to disable logs (thanks to Simon Wheatley!)

2.1.22

  • Pre WP2.8 compatibility fix

2.1.21

  • Fix #620
  • ロシア語翻訳を追加

2.1.20

  • Fix for some users with problems deleting redirections

2.1.19

  • ヒンディー語翻訳を追加
  • Fix some ajax

2.1.18

  • Fix module deletion

2.1.17

  • Log JS fixes

2.1.16

  • Fix group edit and log add entry

2.1.15

  • Use WP Ajax
  • Add Japanese

2.1.14

  • Fix #457
  • Add #475, #427
  • Add Catalan translation.
  • WP2.8 compatibility

2.1.13

  • Add Spanish and Chinese translation

2.1.12

  • アイコンを追加
  • Disable category monitoring

2.1.11

  • Errors on some sites

2.1.10

  • Missing localizations

2.1.9

  • Fix ‘you do not permissions’ error on some non-English sites

2.1.8

  • Fix category change ‘quick edit’

2.1.7

  • Fix #422, #426

2.1.6

  • Redirection loops

2.1.5

  • Fix #366, #371, #378, #390, #400.
  • Add #370, #357

2.1.4

  • RSS feed token

2.1.3

  • Re-enable import feature

2.1.2

  • Minor button changes

2.1.1

  • Force JS cache
  • Fix log deletion

< 2.1

  • jQuery への変更
  • Nonce protection
  • Disable category monitor in 2.7
  • ヘブライ語翻訳
  • Fix small issues in display with WP 2.7
  • Fix delete redirects
  • ログの削除を再修正
  • Fix incorrect automatic redirection with static home pages
  • Support for wp-load.php
  • get_home_path seems not be available for some people
  • Update plugin.php to better handle odd directories
  • Correct DB install
  • IIS の問題を修正
  • Install defaults when no existing redirection setup
  • New version