By default WordPress redirects non-www to www and vice versa, based on the site url set in General > Settings. In my case, I’ve set the site url with www, so it looks like http://www.mydomain.com.
This redirection is working for all pages with the exception of the homepage. It’s the only page that does not go to http://www.domain.com when I type domain.com in the browser.
After some troubleshooting, I found out that if I disable the Custom Permalinks plugin, the non-www to www redirection does work on the homepage.
Can you think of what could be the cause of this? Any ideas?
Thanks for this great plugin!