|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
|||
|
|||
|
301 redirecting on IIS Server
I own a dedicated linux server so am very familiar with .htaccess. I do all my www. redirects with a simple code in that file.
However I recently got hired to do SEO for a small business and the site is hosted on a Windows Server running IIS. What is the best way to do a 301 redirect for non-www to www on an IIS server? The best option I came up with is to create a separate account and have the non-www simply forward to the other. Is there a better option for forwarding non-www on a Windows Server? Thanks, Mike |
|
#2
|
||||
|
||||
|
Quote:
asp will be fine: Code:
<% Response.Status="301 Moved Permanently" Response.AddHeader "Location", "/new-page.asp" %> |
|
#3
|
||||
|
||||
|
I'd rather create a new website with domain.com as the host name and 301 it to www.domain.com
I am looking for a way to redirect default.aspx to / but seems there isn't a way to do it
__________________
Social Mobile Messaging SEO FAQs - You might find your answer here. SEOchat Forum Rules - Read Before You Post **Do what you feel in your heart to be right- for you'll be criticized anyway. You'll be damned if you do, and damned if you don't.** |
![]() |
| Viewing: SEO Chat Forums > Other > HTML Coding > 301 redirecting on IIS Server |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|
|