Just to let everybody know: When using the plugin Simple Google Connect and Polylang together, it is IMPOSSIBLE to authorize the connection between Google and WordPress when you have NOT checked the option “Hide URL language information for default language” in the Polylang settings.
I would guess the homepage redirection that Polylang does, interferes with the authorization steps (via /oauth2callback) which results in the home page (with language info like /en/ in the URL) to appear in the popup window instead of redirecting back to the user Profile page.
The solution is simply to check the option “Hide URL language information for default language” but in my case that would mess with the pagerank of the default language homepage since checking that option will render the old default language URL /en/ with a 404 page… 🙁
Would it be possible to have Polylang redirect the default language URL (with language info) with a 301 to back to the root URL when that option is checked?
- The topic ‘Polylang and issue with Simple Google Connect authorization’ is closed to new replies.