Welcome to WebmasterWorld Guest from 54.196.244.186

Forum Moderators: phranque

Message Too Old, No Replies

301 Redirect Help

     
4:44 pm on Jan 26, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 11, 2004
posts:82
votes: 0


I recently bought 2 domains. One is a homonym of the other. Say, www.widget-2.com and www.widget-two.com. I would like to redirect all users who type in www.widget-2.com to the correct url of www.widget-two.com.

I've never used a 301 before but I've been searching these forums and the web and come up with the simple answer of the following in my .htaccess file.

Redirect 301 / [widget-two.com...]

I loaded this in the root directory of www.widget-2.com but it doesn't work. It still shows the site place holders from the host. What am I missing?

[edited by: trillianjedi at 4:49 pm (utc) on Jan. 26, 2005]
[edit reason] Widgetised [/edit]

8:10 pm on Jan 26, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 11, 2004
posts:82
votes: 0


Nevermind. It was resolved with my host. Don't know what they did but they wrote it was fixed.
10:19 pm on Jan 26, 2005 (gmt 0)

New User from US 

10+ Year Member

joined:Mar 25, 2004
posts:11
votes: 0


I've got basically the same issue and I don't know what to do. I want everyone who types in widgets-old.com to be aware that they've been moved to widgets-new.com. Currently, it just displays whichever one they used, since both domains point to the same server/IP address.

If I put in my .htaccess file a

redirect 301 [widgets-old.com...] [widgets-new.com...]

it doesn't seem to make any difference. Any suggestions?
thanks,
-dave

10:28 pm on Jan 26, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 11, 2004
posts:82
votes: 0


This is what's in my .htacess file

Redirect 301 / [widgets-new.com...]

and that's it.

You don't need to put in the full url of your old site. The first slash in the redirect signifies your root directory of the site you load it onto and includes everything in it. Like an include_all.

10:08 pm on Jan 27, 2005 (gmt 0)

New User from US 

10+ Year Member

joined:Mar 25, 2004
posts:11
votes: 0


No good, if I just use

Redirect 301 / [widget-two.com...]

it breaks my site entirely, it seems to be in an infinite loop.

Any further advice?