|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Search Engine Optimization Forum SEO is much easier with help from peers and experts! The WebProWorld SEO forum is for the discussion and exploration of various search engine optimization topics. Any non (engine) specific SEO or SEM topics should go here. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hello,
I have my main doamin http://www.wigets.com I want to redirect http://widgets.com and http://www.widgets.com/index to the main domain above. I was hoping someone could tell me the safest way to do this. The site is hosted on a windows server with Fasthosts if that helps Many thanks, all help much appreciated. |
|
|||
|
Let me preface this by saying I am not an ASP guru.
Does your server support ASP? (Being a Windows server I would guess that it would). If so I have found if you create an ASP "home" page file, normally default.asp, you can then change this code to redirect the way you desire. Code:
<html> <body> <%@ Language=VBScript %> <% Response.Status="301 Moved Permanently" Response.AddHeader "Location", "http://www.widget.com" %> </body> </html>
__________________
Subbuteo in Los Angeles, California |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |