URL rewrite with www prefix using htaccess

At many times we are in need to append www prefix in website urls. This post will guide you to achieve the same. Lets say we have a domain example.com and we want it to appear as www.example.com or http://www.example.com. In order to complete this we must have a file with the name .htaccess placed […]