iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
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

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-13-2005, 06:49 AM
WebProWorld New Member
 
Join Date: Dec 2005
Posts: 2
niallniall RepRank 0
Default Non apache redirects

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.
Reply With Quote
  #2 (permalink)  
Old 12-13-2005, 03:11 PM
WebProWorld Pro
 
Join Date: May 2004
Location: So Cal, USA
Posts: 250
braknews RepRank 0
Default

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>
Reply With Quote
  #3 (permalink)  
Old 12-13-2005, 07:50 PM
WebProWorld New Member
 
Join Date: Dec 2005
Posts: 10
vipeness RepRank 0
Default

or you could just the backend of your webhosting software and redirect to it.
Reply With Quote
Reply

  WebProWorld > Search Engines > Search Engine Optimization Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 05:30 PM.



Search Engine Optimization by vBSEO 3.3.0