Hi,
I have encountered the following issue on 3 or 4 different sites now: if I leave the 'The front page url contains the language code instead of the page name or page id' box unchecked, redirection from www to non-www pages work, except for homepage (in all languages). In other words:
www.example.com/products
DOES redirect toexample.com/products
www.example.com/home
DOES NOT redirect toexample.com/home
This creates issues in terms of SEO regarding duplicate content, at least for the home page, and somehow prevents fonts from loading correctly when using the @font-family technique.
However, if I do check the 'The front page url contains the language code instead of the page name or page id' box, redirection from www to non-www home page works. In other words:
www.example.com/products
DOES redirect toexample.com/products
www.example.com/en
DOES redirect toexample.com/en
This partly solves the problem, as the redirection now works, yet it forces me to use the language slug in the home page URL for languages other than the default one.
I don't know whether it's really an issue with the plugin and/or its settings, or if it can be easily solved by adding a few lines to the .htaccess files, but I'd sure like to know if there's a solution out there.
Thanks!
==========
Site: pvcregional.ca
In order to prevent issue, I have applied the aforementioned modifications to my Polylang settings, so issue is not live.
WP 3.7.1
Polylang 1.4.1
Permalinks -> Post Name
Polylang settings:
-> Languages: Français (default), English
-> Language is set from content
-> Hide URL language information for default language
-> Remove /language/ in pretty permalinks
WordPress settings:
-> I am using a static home page
Other items of interest:
-> .htaccess file is WordPress default. Tried to force redirection of homepage with 301 redirects to no avail.