I often come across sites that need SSL but require the path to be force with NON-www. Below is a handy snipped of code to place in your root folder...