Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 872 Bytes

README.md

File metadata and controls

11 lines (6 loc) · 872 Bytes

Language Redirect

WordPress plugin which redirects from the root site of a multisite project to a language specific network site. 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. Once redirected it is useless and shouldn't be active on the language specific network site.

The plugin is hosted on wordpress.org as well: http://wordpress.org/plugins/language-redirect/

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