Mobile app version of vmapp.org
Login or Join

Login to follow query

More posts by @Samaraweera270

1 Comments

Sorted by latest first Latest Oldest Best

 

@Nimeshi995

I believe the Dot Net Control Panel does not offer this feature and you will need add something like this to your current configuration.

if (!Request.Url.Authority.StartsWith("www"))

{

string url = string.Format("{0}://www.{1}{2}",

Request.Url.Scheme,

Request.Url.Authority,

Request.Url.PathAndQuery);

Response.Redirect(url, true);
}

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme