system — 2013-07-10T06:03:45-04:00 — #1
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.
nightstalker — 2013-07-11T00:01:50-04:00 — #2
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
vincentas — 2013-08-01T08:57:31-04:00 — #3
You need to manage your .htacess file for redirections, but I really think you need to give us more info about your project....
wwb_99 — 2013-08-01T13:40:30-04:00 — #4
How would one use .htaccess on IIS?
system — 2013-08-02T03:33:57-04:00 — #5
Use Response.redirect may be a method to redirect as we generally use response. redirect method to redirect to pages in .Net.
endermb — 2013-08-15T06:31:44-04:00 — #6
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.