Title: Redirector
Author: Ralf Hortt
Published: <strong>5. november, 2008</strong>
Last modified: 11. august, 2014

---

Søg plugins

![](https://ps.w.org/redirector/assets/banner-772x250.jpg?rev=481648)

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

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

# Redirector

 Af [Ralf Hortt](https://profiles.wordpress.org/horttcore/)

[Download](https://downloads.wordpress.org/plugin/redirector.3.0.1.zip)

 * [Detaljer](https://da.wordpress.org/plugins/redirector/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/redirector/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/redirector/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/redirector/#developers)

 [Support](https://wordpress.org/support/plugin/redirector/)

## Beskrivelse

Redirect posts, pages or any custom post type to a different url.

### Hooks

#### Actions

 * `redirector_uninstall` – Runs on plugin deinstall
 * `redirector_metabox_begin` – Begin redirector meta box
 * `redirector_metabox_end` – End redirector meta box
 * `redirector-modal-search-begin` Begin redirector modal
 * `redirector-modal-search-end` End redirector modal

#### Filters

 * `redirector-redirect-url` – Alter the query string that is appended to redirect
   url
 * `redirector-status-code` – Redirect status code; default 301
 * `redirector-recent-posts` – Alter redirector recent posts query
 * `redirector-search-query` – Alter redirector search query
 * `redirector-meta` – Alter Redirector meta save

#### Update Notice

In version 3+ I’ve changed the database handling of storing the post meta data.

This results in that you have the visit the backend once after updating the plugin.
The function maybe_update() will handle the transition from the old structure to
the newer one. There shouldn’t be any problem updating the plugin, if so please 
contact me!

## Skærmbilleder

[⌊Meta box - No redirection⌉⌊Meta box - No redirection⌉[

Meta box – No redirection

[⌊Meta box - Select post ( any post type )⌉⌊Meta box - Select post ( any post type
)⌉[

Meta box – Select post ( any post type )

[⌊Modal box - Select post ( any post type ) with most recent posts⌉⌊Modal box - 
Select post ( any post type ) with most recent posts⌉[

Modal box – Select post ( any post type ) with most recent posts

[⌊Modal box - Search post ( any post type )⌉⌊Modal box - Search post ( any post 
type )⌉[

Modal box – Search post ( any post type )

[⌊Meta box - Selected post ( any post type )⌉⌊Meta box - Selected post ( any post
type )⌉[

Meta box – Selected post ( any post type )

[⌊Meta box - Custom URL⌉⌊Meta box - Custom URL⌉[

Meta box – Custom URL

[⌊Meta box - First child element⌉⌊Meta box - First child element⌉[

Meta box – First child element

[⌊Meta box - SSL⌉⌊Meta box - SSL⌉[

Meta box – SSL

## Installation

 * Put the plugin file in your plugin directory and activate it in your WP backend.
 * Go to edit a page
 * Scroll down to ‘Redirector’ meta box
 * Select a WordPress page of you installation or enter a valid URL or select the‘
   first child page’

## FAQ

  Installation Instructions

 * Put the plugin file in your plugin directory and activate it in your WP backend.
 * Go to edit a page
 * Scroll down to ‘Redirector’ meta box
 * Select a WordPress page of you installation or enter a valid URL or select the‘
   first child page’

  Where can I get support or report bugs?

Please use the [github](https://github.com/Horttcore/Redirector) to report bugs 
or add feature requests!

  How can I activate Redirector for other post types beside pages?

Simple add the post type support for it via `add_post_type_support( 'post', 'redirector')`

## Anmeldelser

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

### 󠀁[2020, fresh WordPress, and still works!](https://wordpress.org/support/topic/2020-fresh-wordpress-and-still-works/)󠁿

 [comigo](https://profiles.wordpress.org/comigo/) 4. februar, 2020

It creates option sections in Gutenberg, which makes the plugin usable both for 
admins and customers.

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

### 󠀁[Still works great with 4.7.4](https://wordpress.org/support/topic/still-works-great-with-4-7-4/)󠁿

 [MartinW2](https://profiles.wordpress.org/martinw2/) 29. april, 2017

Thanks for this simple yet effective plugin!

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

### 󠀁[Works fine with 4.4.1](https://wordpress.org/support/topic/works-fine-with-441/)󠁿

 [annaemde](https://profiles.wordpress.org/annaemde/) 3. september, 2016

Thank you very much!

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

### 󠀁[Awesome](https://wordpress.org/support/topic/awesome-2745/)󠁿

 [Madovsky](https://profiles.wordpress.org/madovsky/) 3. september, 2016

This plugin just save my life!

 [ Læs alle 7 anmeldelser ](https://wordpress.org/support/plugin/redirector/reviews/)

## Bidragsydere & udviklere

“Redirector” er open source-software. Følgende personer har bidraget til dette plugin.

Bidragsydere

 *   [ Ralf Hortt ](https://profiles.wordpress.org/horttcore/)

“Redirector” er blevet oversat til 1 sprog. Tak til [oversætterne](https://translate.wordpress.org/projects/wp-plugins/redirector/contributors)
for deres bidrag.

[Oversæt “Redirector” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/redirector)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/redirector/), tjek [SVN repository](https://plugins.svn.wordpress.org/redirector/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/redirector/)
via [RSS](https://plugins.trac.wordpress.org/log/redirector/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 3.0.1

 * Fix: Checked checkbox for no redirection
 * Fix: Prevent empty redirects
 * Fix: Compability with Cachify

#### 3.0.0

 * Added: Search post object for post redirect type
 * Added: Redirect preview
 * Added action: `redirector-update`
 * Added action: `redirector-modal-search-begin`
 * Added action: `redirector-modal-search-end`
 * Added filter: `redirector-recent-posts`
 * Added filter: `redirector-redirect-url`
 * Added filter: `redirector-status-code`
 * Added filter: `redirector-meta`
 * Enhancement: New Redirector UI
 * Removed Filter: `redirector_redirect`
 * Removed Filter: `redirector_status`
 * Removed Filter: `redirector_types`

#### 2.0.3

 * Added more arguements to the hooks
 * Added README.md

#### 2.0.2

 * Filter ‘redirector_status’ added
 * Uninstall routine activated
 * Code readability increased

#### 2.0.1

 * Enhancement: Cleanup
 * Fix: Minor typos
 * Fix: Metabox is displayed correctly on new post

#### 2.0

 * Core function rewritten
 * Updated JS/CSS
 * Fully extendable with filters and actions
 * Custom Post Type Support
 * New redirect Method (HTTPS)
 * Moved files into folders

#### 1.2

 * Moved the code into class

#### 1.1

 * Proper multilanguage support
 * CSS moved to redirector.css
 * JS moved to redirector.js

…

## Meta

 *  Version **3.0.1**
 *  Senest opdateret **9 år siden**
 *  Aktive installationer **7.000+**
 *  WordPress-version ** 3.3 eller højere **
 *  Testet op til **3.6.1**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/redirector/) og [German](https://de.wordpress.org/plugins/redirector/).
 *  [Oversæt til dit sprog](https://translate.wordpress.org/projects/wp-plugins/redirector)
 * Tags
 * [page](https://da.wordpress.org/plugins/tags/page/)[redirect](https://da.wordpress.org/plugins/tags/redirect/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/redirector/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

 *  [  7 5-stjernet anmeldelser     ](https://wordpress.org/support/plugin/redirector/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/redirector/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/redirector/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/redirector/reviews/?filter=2)
 *  [  0 1-stjernet anmeldelser     ](https://wordpress.org/support/plugin/redirector/reviews/?filter=1)

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

[Se alle anmeldelser.](https://wordpress.org/support/plugin/redirector/reviews/)

## Bidragsydere

 *   [ Ralf Hortt ](https://profiles.wordpress.org/horttcore/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/redirector/)

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](http://www.horttcore.de)