Ok ! Here you go – something interesting related to URL rewriting for Windows hosting to add WWW prefix .  Recent conversation with SEO Expert leads me to understand that vnypatel.com and www.vnypatel.com are different for SEO and Page Ranking !

So , I did tried to achieve www prefix for my website finally that achieved by url rewriting ( remember .htaccess won’t work with windows hosting !)

<rules>

<rule name=”Add www” patternSyntax=”Wildcard” stopProcessing=”true”>
<match url=”*” />
<conditions>
<add input=”{HTTP_HOST}” pattern=”www.vnypatel.com” negate=”true” />
</conditions>
<action type=”Redirect” url=”http://www.vnypatel.com/{R:1}” />
</rule>

</rules>

For Linux

<IfModule mod_rewrite.c>

RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_HOST} ^vnypatel.com$ [NC]
RewriteRule ^(.*)$ http://www.vnypatel.com/$1 [R=301,L]

</IfModule>

Happy Coding !