Title: Language Redirect
Author: bjoerne
Published: <strong>18. september, 2013</strong>
Last modified: 11. februar, 2017

---

Søg plugins

![](https://ps.w.org/language-redirect/assets/banner-772x250.png?rev=774590)

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/language-redirect_404041.svg)

# Language Redirect

 Af [bjoerne](https://profiles.wordpress.org/bjoerne/)

[Download](https://downloads.wordpress.org/plugin/language-redirect.zip)

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

 [Support](https://wordpress.org/support/plugin/language-redirect/)

## Beskrivelse

WordPress plugin which redirects from the root site of a multisite project to a 
language specific network site.

**Please Note: This plugin doesn’t allow content on the root site! Please read this
description carefully to see if this works for you.**

The decision which language should be used is based in the browser language of the
user which is usually sent as ‘Accept-Language’ header (PHP: $_SERVER[‘HTTP_ACCEPT_LANGUAGE’]).

The plugin provides a configuration page where supported languages, redirect targets
and the default language can be configured.

The plugin should be activated only on the root site. It shouldn’t be active on 
the language specific network site.

The plugin is developed on [Github](https://github.com/bjoerne2/language-redirect).
Feel free to fork the project or create pull requests.

_This plugin was originally developed for [monkkee](http://www.monkkee.com/) and
is inspired by [oncleben31.cc](http://oncleben31.cc)_

## Skærmbilleder

 * [[
 * Valg

## Installation

 1. Upload plugin to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Configure plugin (Settings -> Language Redirect)

## Anmeldelser

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

### 󠀁[Total shit](https://wordpress.org/support/topic/total-shit-2/)󠁿

 [rolandaxenberg](https://profiles.wordpress.org/rolandaxenberg/) 8. september, 
2018

Couldnt redirect to another page, only to another site. This should be mentioned
in the main description.

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

### 󠀁[Good one](https://wordpress.org/support/topic/good-one-319/)󠁿

 [Jean](https://profiles.wordpress.org/webdizainereu/) 28. maj, 2018

Simple and exactly what needed

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

### 󠀁[works great even in Mobile](https://wordpress.org/support/topic/works-great-even-in-mobile/)󠁿

 [astrgn](https://profiles.wordpress.org/astrgn/) 17. april, 2018

This plugin works great. Very easy to setup. Works on mobile too. Many thanks to
the developer.

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

### 󠀁[Great job](https://wordpress.org/support/topic/great-job-618/)󠁿

 [diversamente0434](https://profiles.wordpress.org/diversamente0434/) 28. februar,
2018

Simple and easy!

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

### 󠀁[Works as expected](https://wordpress.org/support/topic/works-as-expected-250/)󠁿

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

It is perfect tool for auto redirecting. Especially with lincolnphipps’s patch. 
Thanks a lot! Sure it must be set well, but works like a charm.

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

### 󠀁[Works fine!](https://wordpress.org/support/topic/works-fine-544/)󠁿

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

Great extension to Multilingual Press… Just make sure you read correctly. Don’t 
network activate the plugin. Only activate it at the root blog.

 [ Læs alle 13 anmeldelser ](https://wordpress.org/support/plugin/language-redirect/reviews/)

## Bidragsydere & udviklere

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

Bidragsydere

 *   [ bjoerne ](https://profiles.wordpress.org/bjoerne/)

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

### Interesseret i udvikling?

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

## Ændringslog

#### 1.0.1

 * Handle missing HTTP_ACCEPT_LANGUAGE header, see [https://wordpress.org/support/topic/undefined-index-http_accept_language](https://wordpress.org/support/topic/undefined-index-http_accept_language)
 * Cleanup code concerning WP code conventions

#### 1.0.2

 * Consider all languages of HTTP_ACCEPT_LANGUAGE based on their q factor
 * Support country based locales like en-US
 * Try to match languages prefixes of country based locales as a fallback, e.g. 
   given ‘en-US’ in header and ‘en’ in configuration

#### 1.0.3

 * Redirect only if /index.php was invoked. This is the case for all frontend visits.
 * Don’t redirect robots.txt
 * Delete options when plugin is uninstalled

#### 1.0.4

 * Remove buggy robots.txt handling

#### 1.0.5

 * Don’t redirect robots.txt

## Meta

 *  Version **1.0.5**
 *  Senest opdateret **9 år siden**
 *  Aktive installationer **100+**
 *  WordPress-version ** 3.4 eller højere **
 *  Testet op til **4.7.33**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/language-redirect/)
 * Tags
 * [header](https://da.wordpress.org/plugins/tags/header/)[language](https://da.wordpress.org/plugins/tags/language/)
   [multisite](https://da.wordpress.org/plugins/tags/multisite/)[redirect](https://da.wordpress.org/plugins/tags/redirect/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/language-redirect/advanced/)

## Bedømmelser

 4 ud af 5 stjerner.

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

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

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

## Bidragsydere

 *   [ bjoerne ](https://profiles.wordpress.org/bjoerne/)

## Support

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

 [Vis supportforum](https://wordpress.org/support/plugin/language-redirect/)

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XS98Y5ASSH5S4)