Forum Moderators: phranque

Message Too Old, No Replies

Dumb Question about site names

canonical and non-canonical names

         

grandma genie

1:47 am on Dec 6, 2010 (gmt 0)

10+ Year Member



This is really dumb and I should have known the answer years ago, but the question never came up until today, at least for me. If I own a site name like www.mywebsite.com, do I also own the non-canonical name (mywebsite.com)? Or are the canonical and non-canonical names two different websites? If I deleted one, can I get it back easily if need be? I am on a hosted server, so would have to have the host make any changes.

buckworks

3:55 am on Dec 6, 2010 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



The only dumb question is the one that didn't get asked when it should have.

What you "own" is the domain "example.com" and that also gives you ownership and control over all subdomains of that domain including www.

www.example.com
mail.example.com
keyword.example.com

... and so on, are all yours if you own example.com.

www.example.com could indeed be a different website from example.com but you'd own them both. It's rare for them to be developed separately, though. It's more common for careless website developers to let both URLs get into circulation when it's really only intended to be one site.

Use one form or the other and try not to mix and match them.

piatkow

10:04 am on Dec 6, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



While the www and non www names are technically two different sites it is conventional to point them both to the same location. Typically your hosting service will have this set up as the default.

Its your choice which to use but as buckworks says it is advisable to standardise on one. Personally I think that typing an extra www is a trivial but ultimately wasteful use of time and bandwidth but if you give people a link without the www I can guarantee that at least half will "correct" it.

g1smd

2:15 pm on Dec 6, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Make sure you link to only one and set up a canonical 301 redirect for the other.

Look what appears in your browser URL bar, after you type google.com, and hit enter, for example.

piatkow

11:32 am on Dec 7, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month




set up a canonical 301 redirect for the other.

Assuming of course that the OP's hosting company will support that. Many cut price hosts don't.