I recently started work on a new website, where I’ve purchased the .co.uk and .info domain names. However, I wanted to redirect people automatically to the main .com domain.

As my host supports the IIS7 URL ReWrite 2.0 module, adding the following section to the primary web.config file solved this for me;

By |2013-10-09T08:52:00+01:00October 9th, 2013|ASP.net, MVC, Visual Studio, Web, XML|0 Comments

About the Author:

Leave A Comment