Great extension to Multilingual Press...
Just make sure you read correctly. Don't network activate the plugin. Only activate it at the root blog.
... unfortunately not working...
I like Plugins doing EXACTLY what they are supposed to. This is small and simple, just ad 2 lines in the config and it works.
This plugin works, but it does its job too well. As openmtl put it,
a visitor will always get sent to the [local] subsite[...] even if they wanted to stay on the [...] default.
Not even I as super admin have any choice, when this plugin is activated. I also will be sent to the site of my native tongue, and cannot access the other sites from the front end any more.
I have a multisite with a / (root) for the english and /fr/ and /it/ for french and italian. There is no real overlap in posts - the page and menus are completely different. Yes I should of have a root and then /en/ for english but the client wanted a default on the root.
I wanted french browsers to redirect but if they then clicked the english (root) site then they would...redirect back to the French site with this language-redirect 1.0.0 plugin. I did not want that I wanted them to be able to browse around anywhere on our root or subsites.
So I patched the code and added a feature that sets a cookie if the root is visited and the redirect fires. Once that has done once then the cookie is checked and the redirect is not done again. Thus with my patch a french browser would hit the root and redirect once but then they can go to the root and not get redirected. cookie lifetime is 28 days.
See the github for the changes.
Easy to setup, also for redirecting to subdomains.
I have two network sites, an english (/en) and a german (/de) one. The plugin redirect to the sites. With the plugin I have a multilingual solution for free.
You must log in to submit a review. You can also log in or register using the form near the top of this page.