Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Domain Name Forum


You are currently viewing our Domain Name Forum as a guest. Please register to participate.
Login



Reply
Correct way to redirect a domain
Old 11-23-2007, 04:45 AM Correct way to redirect a domain
John84's Avatar
Skilled Talker

Posts: 64
Name: John
Trades: 0
Can someone please explain what is the correct way to redirect a domain? For example, I own www.myniche.com and have been running it successfully for a couple of years. I recently purchase my competitor's website; www.sameniche.com and would like to redirect all traffic from the new domain to my original domain.

Is the correct way a 301 redirect using .htaccess file? Or can I simply point the new domain to the same directory as the old domain through my cpanel from my host?

Thanks,

John
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
John84 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-27-2007, 11:47 AM Re: Correct way to redirect a domain
HowLong's Avatar
Extreme Talker

Posts: 200
Name: Max
Trades: 0
Right, you are on the right way.
HowLong is offline
Reply With Quote
View Public Profile
 
Old 11-27-2007, 04:26 PM Re: Correct way to redirect a domain
John84's Avatar
Skilled Talker

Posts: 64
Name: John
Trades: 0
Quote:
Right, you are on the right way.
lol. Im assuming you misread the post. Which way is the right way?
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
John84 is offline
Reply With Quote
View Public Profile
 
Old 11-27-2007, 07:10 PM Re: Correct way to redirect a domain
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
301 redirect
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-27-2007, 07:17 PM Re: Correct way to redirect a domain
Defies a Status

Posts: 3,420
Trades: 0
Yep 301 redirects are the best. Not only is it instant for visitors (as opposed to a meta refresh which might take several seconds), but search engines are less likely to think something sneaky is going on
CSS4Life is offline
Reply With Quote
View Public Profile
 
Old 11-29-2007, 01:52 AM Re: Correct way to redirect a domain
John84's Avatar
Skilled Talker

Posts: 64
Name: John
Trades: 0
Set up the 301. Easier than expected. Thanks folks.
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
John84 is offline
Reply With Quote
View Public Profile
 
Old 12-03-2007, 03:30 AM Re: Correct way to redirect a domain
John84's Avatar
Skilled Talker

Posts: 64
Name: John
Trades: 0
I went ahead and created an .htaccess file to redirect the traffic...

Code:
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.OriginalDomain.com/$1 [R=301,L]
...is there a way to track which traffic is coming from the new domain
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
John84 is offline
Reply With Quote
View Public Profile
 
Old 12-03-2007, 08:19 AM Re: Correct way to redirect a domain
~ServerPoint~'s Avatar
Defies a Status

Posts: 1,687
Name: Travis
Trades: 0
Ask for 301 redirect from your web hosting company. Redirect on server side (not through .htaccess) would be better (especcially for SEO related issues).
~ServerPoint~ is offline
Reply With Quote
View Public Profile
 
Old 12-03-2007, 02:25 PM Re: Correct way to redirect a domain
John84's Avatar
Skilled Talker

Posts: 64
Name: John
Trades: 0
Quote:
Redirect on server side (not through .htaccess) would be better (especcially for SEO related issues).
Really? Because I am hearing otherwise from a number of other sources. Can anyone confirm or argue this point?
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
John84 is offline
Reply With Quote
View Public Profile
 
Old 12-03-2007, 02:40 PM Re: Correct way to redirect a domain
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
I think Travis is referring to this;
Quote:
.is there a way to track which traffic is coming from the new domain
If you redirect using .htaccess, the redirect is triggered before any pages are processed, so no log entry is made and no on page code will be executed.

<added>
Well I hope he is, otherwise he's wrong and .htaccess (if your site is running on Apache) is as good as server side coded redirects
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?

Last edited by chrishirst; 12-03-2007 at 02:43 PM..
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-03-2007, 02:54 PM Re: Correct way to redirect a domain
John84's Avatar
Skilled Talker

Posts: 64
Name: John
Trades: 0
Is it possible to direct the traffic from the new domain to a specific page on the old domain? For example instead of...

RewriteRule (.*) http://www.OriginalDomain.com/$1 [R=301,L]

...can I use...

RewriteRule (.*) http://www.OriginalDomain.com/newdomain.php$1 [R=301,L]
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
John84 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Correct way to redirect a domain
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 4.99260 seconds with 12 queries