ეს პლაგინი არ დატესტილა WordPress-ის 3 ძირითად ვერსიაზე. როგორც ჩანს, ის უკვე აღარ არის მხარდაჭერილი და შესაძლოა არ იყოს თავსებადი WordPress-ის მიმდინარე ვერსიასთან.

Language Redirect

აღწერა

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. Upload plugin to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Configure plugin (Settings -> Language Redirect)

მიმოხილვები

08.09.2018
Couldnt redirect to another page, only to another site. This should be mentioned in the main description.
03.09.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.
03.09.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.
13 რევიუს წაკითხვა

მონაწილეები & დეველოპერები

“Language Redirect” ღია პროგრამული უზრუნველყოფაა. შემდეგმა ადამიანებმა წვილი შეიტანეს მის განვითარებაში.

მონაწილეები

გადათარგმნეთ Language Redirect თქვენს ენაზე.

დაინტერესებული ხართ დეველოპმენტით?

დაათვალიერეთ კოდი, შეამოწმეთ SVN რეპო, ან გამოიწერეთ შექმნის ჟურნალი : RSS.

ცვლილებები

1.0.1

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