Found Image Language Redirect | Plugin Review Network Skip to Content

Plugin Review Network

Plugin Review Network

an eye on the best wordpress plugins
Show Sidebar Hide Sidebar
[+] Sidebar [-] Sidebar
Plugin:
Rated:
80%
4 Stars (13 votes)

Home

WP.Org

ReadMe

Support
  • Author:
    Björn Weinbrenner
Version: 1.0.5
Requires: WP 3.4
Last Updated:3230 days ago
Downloads:11164
Installations: 500+
Usage Retention:4.48%
Tags:
    header, language, location, multisite, redirect
Download Plugin Package

Language Redirect

Released on September 18, 2013.
Download Plugin Package

Version: 1.0.5

Redirects from the root site of a multisite project to a language specific network site.

  • Description
  • Changelog
  • Installation
  • Screenshots


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. Feel free to fork the project or create pull requests.

This plugin was originally developed for monkkee and is inspired by oncleben31.cc

1.0.1

  • Handle missing HTTP_ACCEPT_LANGUAGE header, see 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


  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)


Options
Screenshot 1



 

Click here to cancel reply.

Click here to cancel reply.


*

*


Please copy the string IizLVq to the field below:

Home | Sitemap | Contact
Network Skin Theme for BioShip by WordQuest
Password Reset
Please enter your e-mail address. You will receive a new password via e-mail.