Click here to Skip to main content
15,116,354 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

your guys would you help me for 301 redirect
I want http://abc.com redirect to http://www.abc.com
also http://abc.com/urlWords redirect to http://www.abc.com/urlWords

how to configure the web.config to make the the thing i want above, or code

thanks your help in advance
Posted

1 solution

This example goes the other way (www.abc.com to abc.com) but it should work with the names reversed.
http://dkgadget.com/redirect-www-to-http/[^]
   
Comments
zhgfsh 14-Jan-12 5:04am
   
thank you, but i am not familiar with the rewrite handler

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900