Title: Language Redirect
Author: bjoerne
Published: <strong>18. rujna 2013.</strong>
Last modified: 11. veljače 2017.

---

Pretraga dodataka

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

Dodatak **nije testiran s zadnje 3 glavna izdanja WordPressa**. Možda ga se više
ne održava ili pruža podršku i možda ima probleme sa kompatibilnošću s novijim inačicama
WordPressa.

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

# Language Redirect

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

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

 * [Detalji](https://hr.wordpress.org/plugins/language-redirect/#description)
 * [Recenzije](https://hr.wordpress.org/plugins/language-redirect/#reviews)
 *  [Instalacija](https://hr.wordpress.org/plugins/language-redirect/#installation)
 * [Razvoj](https://hr.wordpress.org/plugins/language-redirect/#developers)

 [Podrška](https://wordpress.org/support/plugin/language-redirect/)

## Opis

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)_

## Snimke zaslona

[⌊Postavke⌉⌊Postavke⌉[

Postavke

## Instalacija

 1. Upload plugin to the `/wp-content/plugins/` directory
 2. Aktivirajte dodatak kroz izbornik ‘Dodaci’ u WordPressu
 3. Configure plugin (Settings -> Language Redirect)

## Recenzije

![](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/) 08. rujna 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. svibnja 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. travnja 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. veljače
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/) 03. rujna 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/) 03. rujna 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.

 [ Pročitajte svih 13 recenzija ](https://wordpress.org/support/plugin/language-redirect/reviews/)

## Suradnici i Programeri

“Language Redirect” je softver otvorenog koda. Sljedeće osobe su doprinijele ovom
dodatku.

Suradnici

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

[Prevedite “Language Redirect” na svoj jezik.](https://translate.wordpress.org/projects/wp-plugins/language-redirect)

### Zainteresirani ste za razvoj?

[Pregledajte kôd](https://plugins.trac.wordpress.org/browser/language-redirect/),
pogledajte [SVN spremište](https://plugins.svn.wordpress.org/language-redirect/)
ili se pretplatite na [dnevnik razvoja](https://plugins.trac.wordpress.org/log/language-redirect/)
od [RSS](https://plugins.trac.wordpress.org/log/language-redirect/?limit=100&mode=stop_on_copy&format=rss).

## Dnevnik promjena

#### 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**
 *  Zadnje ažuriranje **prije 9 godina**
 *  Aktivnih instalacija **100+**
 *  WordPress inačica ** 3.4 ili viša **
 *  Testirano do **4.7.33**
 *  Language
 * [English (US)](https://wordpress.org/plugins/language-redirect/)
 * Oznake
 * [header](https://hr.wordpress.org/plugins/tags/header/)[language](https://hr.wordpress.org/plugins/tags/language/)
   [multisite](https://hr.wordpress.org/plugins/tags/multisite/)[redirect](https://hr.wordpress.org/plugins/tags/redirect/)
 *  [Napredni pogled](https://hr.wordpress.org/plugins/language-redirect/advanced/)

## Ocjena

 4 out of 5 stars.

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

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

[See all reviews](https://wordpress.org/support/plugin/language-redirect/reviews/)

## Suradnici

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

## Podrška

Želite nešto reći? Potrebna vam je pomoć?

 [Pregledaj forum za podršku](https://wordpress.org/support/plugin/language-redirect/)

## Doniraj

Želite li podržati napredak ovog dodatka?

 [ Donirajte ovom dodatku ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XS98Y5ASSH5S4)