Magento: www or non-www URL redirecting to homepage

Problem: You have a Magento website with Base URL = http://example.com/ Working: http://example.com/category-one.html Not working: http://www.example.com/category-one.html (redirecting to homepage) The only difference in the above two URLs is that the second URL has “www” in it. Similary, you may have another Magento website with Base URL = http://www.example.com/ In this case, Working: http://www.example.com/category-one.html Not working: … Read more