logo-dw

Go Back   Dreamweaver Club Forums > Dreamweaver forums > SEO
Register FAQ Members List Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools Display Modes
Old 11-10-2010, 02:37 PM   #1
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default 2 domains need to point to one site

ok chaps

I have domain1.com and domain2.com

domain2.com points to a site which is being switched off

The content on domain1.com is going to cover what was on domain2.com so would like domain2.com to point to domain1.com but resolve to domain1.com!! < head battered yet?

easy to point domain2.com to the site of domain1.com but could impact SEO as this would be seen as duplicating content..! Ok so guess it would be best practice to implement a 301 in the .htaccess file of domain1.com or would this be best done through the VHOST file?
__________________
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk
davidj is offline  
Old 11-10-2010, 02:44 PM   #2
domedia
Administrator
domedia's Avatar
 
Join Date: Dec 2003
Posts: 9,730
Default

301 is your friend!

Do it in the httpd.conf file, if you have server access. If you don't have that access, keep the hosting account for domain2 and do a 301 in the htaccess file.

Domain 2 will be removed from the SE's and not be a candidate for duplicate content, and any link juice that came in to domain2, will be transfered to domain1.
domedia is offline  
Old 11-10-2010, 02:47 PM   #3
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

cheers

I'm on the case
__________________
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk
davidj is offline  
Closed Thread


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

Forum Jump


All times are GMT. The time now is 07:51 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com