I have a commercial website in Asp.net and i have to redirect my website from WWW to known WWW for Seo purpose.Is there any way to do this.
I am not sure what you mean by redirect your website from WWW to known WWW. But if you want to redirect the entire website, you can do that in IIS. You can set the redirection URL to whatever you want
You need to manage your .htacess file for redirections, but I really think you need to give us more info about your project....
How would one use .htaccess on IIS?
Use Response.redirect may be a method to redirect as we generally use response. redirect method to redirect to pages in .Net.
I assume you are talking about ensure that your site redirects from www to a non-www URL. For example, going to http://www.domain.com/page should take you to http://domain.com/page.
This is easily done using IIS and the URL Rewrite option, or (if you're comfortable with the Web.Config file) writing this directly into the config file.
Basically, ensure that URL Rewrite is set up on your copy of IIS and then follow the steps.
This topic is now closed. New replies are no longer allowed.