Web Design Forum: two domains, one website - what should I do.. - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

two domains, one website - what should I do.. should I merge or keep them both?

#1 User is offline   lokers 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 11
  • Joined: 29-March 11
  • Reputation: 0
  • Gender:Male
  • Location:London
  • Experience:Web Guru
  • Area of Expertise:Web Developer

Posted 04 April 2011 - 03:23 PM

hi guys,
I have two domains .com and .co.uk pointing to the same website. I am not sure if it's a good idea. Google might thing it's a duplicated content. Besides I think I would like to own both but redirect always to the .co.uk one and keep this one as a main domain.
What should I do and how can I do this?

I have changed the address via google webmaster tools.
I have google analytics account for domain .com but accepting stats from multiple domains (not sure if it works properly because it's hard to verify) so this is done too.

I would like to have finally a situation when someone comes to my website (or subpage) for .com domain to redirect them to the same subpage but with .co.uk
Also, I don't want an url without (www) at the begin.

Any other things I should do or be aware of to achieve this?

FYI, the site is located here:
www (dot) code-digital (dot) com
www (dot) code-digital (dot) co (dot) uk
[sorry I cannot submit links yet]

PS. sorry if this is wrong section but I guess you guys here will have best knowledge for seo reasons.

Thanks
Lukas
0

#2 User is offline   daveb 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 91
  • Joined: 13-January 11
  • Reputation: 13
  • Gender:Male
  • Location:Yorkshire, UK
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 04 April 2011 - 03:39 PM

Hey there,

It is a good idea, and yes google will consider it duplicate content if you have both sites setup so what you need to do is first ensure that your webserver/hosting company is setup to serve both the .co.uk and .com domains and then you can use the .htaccess rules below to take care of the redirect from the .com to the .co.uk address so the .co.uk solely receives the ranking credit for your content.


RewriteEngine On

RewriteCond %{HTTP_HOST} ^code-digital\.co\.uk$ [NC]
RewriteRule ^(.*)$ http://www.code-digital.co.uk/$1 [R=301,L]

RewriteCond %{HTTP_HOST} ^code-digital\.com$ [NC]
RewriteRule ^(.*)$ http://www.code-digital.co.uk/$1 [R=301,L]

RewriteCond %{HTTP_HOST} ^www\.code-digital\.com$ [NC]
RewriteRule ^(.*)$ http://www.code-digital.co.uk/$1 [R=301,L]



The first rule redirects code-digital.co.uk to WWW.code-digital.co.uk
Second Rule redirects code-digital.com to WWW.code-digital.co.uk
Third rule redirects www.code-digital.COM to www.code-digital.CO.UK

Rgds,


Dave

View Postlokers, on 04 April 2011 - 03:23 PM, said:

hi guys,
I have two domains .com and .co.uk pointing to the same website. I am not sure if it's a good idea. Google might thing it's a duplicated content. Besides I think I would like to own both but redirect always to the .co.uk one and keep this one as a main domain.
What should I do and how can I do this?

I have changed the address via google webmaster tools.
I have google analytics account for domain .com but accepting stats from multiple domains (not sure if it works properly because it's hard to verify) so this is done too.

I would like to have finally a situation when someone comes to my website (or subpage) for .com domain to redirect them to the same subpage but with .co.uk
Also, I don't want an url without (www) at the begin.

Any other things I should do or be aware of to achieve this?

FYI, the site is located here:
www (dot) code-digital (dot) com
www (dot) code-digital (dot) co (dot) uk
[sorry I cannot submit links yet]

PS. sorry if this is wrong section but I guess you guys here will have best knowledge for seo reasons.

Thanks
Lukas

4

#3 User is offline   Jason Dexter 

  • Expert
  • Group: Gold Membership
  • Posts: 711
  • Joined: 07-March 11
  • Reputation: 121
  • Gender:Male
  • Location:Nottingham
  • Experience:Web Guru
  • Area of Expertise:SEO

Posted 04 April 2011 - 03:41 PM

Edit: Perfectly explained above!

This post has been edited by Jason Dexter: 04 April 2011 - 03:42 PM

0

#4 User is offline   lokers 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 11
  • Joined: 29-March 11
  • Reputation: 0
  • Gender:Male
  • Location:London
  • Experience:Web Guru
  • Area of Expertise:Web Developer

Posted 04 April 2011 - 05:20 PM

hi daveb, it works perfectly... :)
+rep for that! :-)
THANKS
0

#5 User is offline   daveb 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 91
  • Joined: 13-January 11
  • Reputation: 13
  • Gender:Male
  • Location:Yorkshire, UK
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 04 April 2011 - 05:21 PM

View Postlokers, on 04 April 2011 - 05:20 PM, said:

hi daveb, it works perfectly... :)
+rep for that! :-)
THANKS


You're welcome, thanks for the rep!



0

#6 User is offline   Pezza4u 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 33
  • Joined: 07-March 11
  • Reputation: 0

Posted 05 April 2011 - 07:52 PM

I need to do this, redirect non www to www but I can't find the htaccess file...where is it?
0

#7 User is offline   daveb 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 91
  • Joined: 13-January 11
  • Reputation: 13
  • Gender:Male
  • Location:Yorkshire, UK
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 05 April 2011 - 07:58 PM

If its not there, you may have to create it, and remember the period at the beginning : .htaccess
0

#8 User is offline   Pezza4u 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 33
  • Joined: 07-March 11
  • Reputation: 0

Posted 05 April 2011 - 08:23 PM

Does the file have an extension on the end and what code goes in it along with the redirect above? Thanks :)
0

#9 User is offline   daveb 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 91
  • Joined: 13-January 11
  • Reputation: 13
  • Gender:Male
  • Location:Yorkshire, UK
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 05 April 2011 - 08:25 PM

No extension on the file, and the code above is all you need. This is based around the mod_rewrite Apache module, so it goes without saying that this is for Apache servers with mod_rewrite enabled only.


1

#10 User is offline   Pezza4u 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 33
  • Joined: 07-March 11
  • Reputation: 0

Posted 05 April 2011 - 08:42 PM

Yep that works, thanks :)
0

#11 User is offline   daveb 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 91
  • Joined: 13-January 11
  • Reputation: 13
  • Gender:Male
  • Location:Yorkshire, UK
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 05 April 2011 - 08:45 PM

No prob, glad to help :)
0

#12 User is offline   arsebilisim 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 43
  • Joined: 02-August 11
  • Reputation: 0
  • Gender:Male
  • Experience:Nothing
  • Area of Expertise:Designer

Posted 05 August 2011 - 09:40 AM

View Postlokers, on 04 April 2011 - 03:23 PM, said:

hi guys,
I have two domains .com and .co.uk pointing to the same website. I am not sure if it's a good idea. Google might thing it's a duplicated content. Besides I think I would like to own both but redirect always to the .co.uk one and keep this one as a main domain.
What should I do and how can I do this?

I have changed the address via google webmaster tools.
I have google analytics account for domain .com but accepting stats from multiple domains (not sure if it works properly because it's hard to verify) so this is done too.

I would like to have finally a situation when someone comes to my website (or subpage) for .com domain to redirect them to the same subpage but with .co.uk
Also, I don't want an url without (www) at the begin.

Any other things I should do or be aware of to achieve this?

FYI, the site is located here:
www (dot) code-digital (dot) com
www (dot) code-digital (dot) co (dot) uk
[sorry I cannot submit links yet]

PS. sorry if this is wrong section but I guess you guys here will have best knowledge for seo reasons.

Thanks
Lukas


Make it as two domain with two hostings and two different websites (no copy).
0

#13 User is offline   gwebhostuk 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 53
  • Joined: 12-July 11
  • Reputation: 1
  • Gender:Female
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 15 August 2011 - 06:47 AM

View Postlokers, on 04 April 2011 - 03:23 PM, said:

hi guys,
I have two domains .com and .co.uk pointing to the same website. I am not sure if it's a good idea. Google might thing it's a duplicated content. Besides I think I would like to own both but redirect always to the .co.uk one and keep this one as a main domain.
What should I do and how can I do this?

I have changed the address via google webmaster tools.
I have google analytics account for domain .com but accepting stats from multiple domains (not sure if it works properly because it's hard to verify) so this is done too.

I would like to have finally a situation when someone comes to my website (or subpage) for .com domain to redirect them to the same subpage but with .co.uk
Also, I don't want an url without (www) at the begin.

Any other things I should do or be aware of to achieve this?

FYI, the site is located here:
www (dot) code-digital (dot) com
www (dot) code-digital (dot) co (dot) uk
[sorry I cannot submit links yet]

PS. sorry if this is wrong section but I guess you guys here will have best knowledge for seo reasons.

Thanks
Lukas

I will also suggest that do not redirect from .com to .co.uk as it may confuse the visitor or even they may feel that the site is down and made up by temporarily another domain. Instead of this, you can apply two different designs with different contents to the both domains.
0

#14 User is online   MikeChipshop 

  • Small but imperfectly formed
  • Group: Moderators
  • Posts: 7,044
  • Joined: 19-April 10
  • Reputation: 503
  • Gender:Male
  • Location:Scotland

Posted 03 September 2011 - 09:23 AM

Why are people still replying to this. Daveb gave the perfect answer and the op accepted this and thanked him.
All this rubbish about having two web sites with different content, have you not stopped and looked at how many top name sites have masses of domain names pointing towards the same place.

Before anyway else decides to drag upa a dead thread with stupid replies I am closing this and everyone should rep Daveb!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users