Balling
Premium Member
Registered: 7th Apr 04
Location: Denmark
User status: Offline
|
I'm sure there's a technical term for this, but what is it?
What I mean is a URL that is essentially a duplicate of an existing url, the same way c20xe.co.uk and corsasport.co.uk are identical.
I have URL A and URL B, but right now B just redirects so when you typ www.b.com you get www.a.com/index.htm.
I want the URL to stay B the whole time.
What do I tell the internet gnomes to do for me?
 
|
Brett
Premium Member
Registered: 16th Dec 02
Location: Manchester
User status: Offline
|
Setup a CNAME
|
Balling
Premium Member
Registered: 7th Apr 04
Location: Denmark
User status: Offline
|
That's the one! Cheers! 
 
|
ed
Member
Registered: 10th Sep 03
User status: Offline
|
You can force a sites main domain name using a conditional redirect in the domain names config file/.htaccess file depending on the server you're using. You can set this up as a permanent (301) redirect which is better in terms of SEO.
|
Dom
Member
Registered: 13th Sep 03
User status: Offline
|
Balling - Alternatively you could configure the second domain as an alias (essentially the same as the www. subdomain); it'd then serve the one set of files to both (or more) domains.
quote: Originally posted by ed
You can force a sites main domain name using a conditional redirect in the domain names config file/.htaccess file depending on the server you're using. You can set this up as a permanent (301) redirect which is better in terms of SEO.
I'm far from a SEO guru and granted there are pro's and con's with both methods but i can't see there being any difference between a 301 and CNAME redirects. Be interesting to hear if there are differences to SEO using either method though....
|
Balling
Premium Member
Registered: 7th Apr 04
Location: Denmark
User status: Offline
|
quote: Originally posted by Dom
Balling - Alternatively you could configure the second domain as an alias (essentially the same as the www. subdomain); it'd then serve the one set of files to both (or more) domains.
Quick google shows 301 and CNAME should be equals in terms of SEO.
Dom, any benefit from setting up a domain alias in stead of CNAME?
 
|
Dom
Member
Registered: 13th Sep 03
User status: Offline
|
quote: Originally posted by Balling
quote: Originally posted by Dom
Balling - Alternatively you could configure the second domain as an alias (essentially the same as the www. subdomain); it'd then serve the one set of files to both (or more) domains.
Quick google shows 301 and CNAME should be equals in terms of SEO.
Dom, any benefit from setting up a domain alias in stead of CNAME?
Unless CNAME (or DNS records; not sure if multiple A-records affect rankings, doubt it otherwise shared hosting would screw that completely) affects the SEO then not really. Although you obviously have web server control of the hostname and depending on what web server you're using, you could start doing some 'funky' things based on that.
Only worry otherwise is if you're wanting individual domain analytics, otherwise in most instances it'll get combined.
|
ed
Member
Registered: 10th Sep 03
User status: Offline
|
I was just going on what Google told me to do in their documentation
|
Dom
Member
Registered: 13th Sep 03
User status: Offline
|
quote: Originally posted by ed
I was just going on what Google told me to do in their documentation
I did have a ganders at lunch but couldn't spot anything official from Google; if you come across it again, do you mind posting it?
|
ed
Member
Registered: 10th Sep 03
User status: Offline
|
http://support.google.com/webmasters/bin/answer.py?hl=en&answer=139066
|
DaveyLC
Member
Registered: 8th Oct 08
Location: Berkshire
User status: Offline
|
You can do this with DNS records (if you have access) or you can be cheeky and use a redirect header and just push all of the url query data into the redirect request
|
Dom
Member
Registered: 13th Sep 03
User status: Offline
|
quote: Originally posted by DaveyLC
You can do this with DNS records (if you have access) or you can be cheeky and use a redirect header and just push all of the url query data into the redirect request
You mean mod_rewrite?
|