Title: Language Redirect
Author: bjoerne
Published: <strong>18 Tháng 9, 2013</strong>
Last modified: 11 Tháng 2, 2017

---

Tìm kiếm plugin

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

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

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

# Language Redirect

 Bởi [bjoerne](https://profiles.wordpress.org/bjoerne/)

[Tải về](https://downloads.wordpress.org/plugin/language-redirect.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/language-redirect/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/language-redirect/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/language-redirect/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/language-redirect/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/language-redirect/)

## Mô tả

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

## Ảnh màn hình

[⌊Tùy chọn⌉⌊Tùy chọn⌉[

Tùy chọn

## Cài đặt

 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)

## Đánh giá

![](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 Tháng 9, 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 Tháng 5, 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 Tháng 4, 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 Tháng 2,
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 Tháng 9, 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 Tháng 9, 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.

 [ Đọc tất cả 13 đánh giá ](https://wordpress.org/support/plugin/language-redirect/reviews/)

## Người đóng góp & Lập trình viên

“Language Redirect” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

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

[Dịch “Language Redirect” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/language-redirect)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/language-redirect/), check
out [SVN repository](https://plugins.svn.wordpress.org/language-redirect/), hoặc
theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/language-redirect/)
qua [RSS](https://plugins.trac.wordpress.org/log/language-redirect/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 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

 *  Phiên bản **1.0.5**
 *  Cập nhật lần cuối **10 năm trước**
 *  Số lượt cài đặt **100+**
 *  Phiên bản WordPress ** 3.4 hoặc cao hơn **
 *  Đã kiểm tra lên đến **4.7.35**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/language-redirect/)
 * Thẻ
 * [header](https://vi.wordpress.org/plugins/tags/header/)[language](https://vi.wordpress.org/plugins/tags/language/)
   [multisite](https://vi.wordpress.org/plugins/tags/multisite/)[redirect](https://vi.wordpress.org/plugins/tags/redirect/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/language-redirect/advanced/)

## Đánh giá

 4 trên 5 sao.

 *  [  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)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/language-redirect/reviews/)

## Những người đóng góp

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

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/language-redirect/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XS98Y5ASSH5S4)