Welcome to WebmasterWorld Guest from 184.73.122.162

Forum Moderators: incrediBILL

Message Too Old, No Replies

Canonical issue or not?

     
5:37 am on Jul 18, 2013 (gmt 0)

New User

joined:July 18, 2013
posts:5
votes: 0


This website is opening with http://www.example.com/ and http://example.com/ so any one please suggest me this is canonical issue or not. if possible please also tell me what is canonical issue with example. I will be many thankful if any one suggest or solve my issue and problem.

Thanks,
Hariram

[edited by: phranque at 6:55 am (utc) on Jul 18, 2013]
[edit reason] exemplified domain [/edit]

5:43 am on July 18, 2013 (gmt 0)

Junior Member

5+ Year Member

joined:Mar 17, 2010
posts: 97
votes: 1


To fix this issue you need to:
1. Pick which version of the url you want to promote.
2. 301 redirect the version not being used to the one you chose.

The way you have it right now the site can be accessed with or without the www in front. If you leave it like this any incoming links pointing to your pages will be spread between the www and non www versions. To maximize the incoming links to a page you need to set things up so only one version of the page is accessible by everyone, including the search bots.
7:03 am on July 18, 2013 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:10596
votes: 22


welcome to WebmasterWorld, hariram!


here's an extensive discussion which covers many of the issues involved.
once you decide on a canonical hostname, your technical solution will depend on what server you are using.
301 Redirects, www and Non-www - Google SEO News and Discussion forum:
http://www.webmasterworld.com/forum30/30274.htm [webmasterworld.com]
9:04 am on July 18, 2013 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

joined:Apr 9, 2011
posts:13266
votes: 363


Psst! Phranque! Come back!

No matter what you choose to do and how you choose to do it, one thing is sure: It can't be done in html :) So this is either an SEO question or an Apache question. Or, uh, That Other Server.

Rock-bottom easiest fix: If you are on shared hosting, putter around the control panel and find the "preferred domain name" setting. It won't be an optimal redirect, but at least it can start happening right away, while you take your time figuring out the ideal way to do it.
12:03 pm on July 19, 2013 (gmt 0)

New User

joined:June 12, 2013
posts:4
votes: 0


Its a kind of canonical issues, because your site should be open in either www or non-www format so fixed it for all page of your site. Means all page should be opened in either of this format.
8:35 pm on July 19, 2013 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

joined:Apr 9, 2011
posts:13266
votes: 363


The foregoing would be more intelligible if the meaning of "should be opened" were absolutely unambiguous.

Yes, every page of your site should be accessible to visitors who start out using the wrong protocol. But any given page should be redirected to one protocol or the other. In this respect it's exactly analogous to domain-name canonicalization, with or without www.
1:47 am on July 20, 2013 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
posts:18903
votes: 0


You have a building with multiple entrances. Rather than leave every door open, only one should open and each of the others should show a sign stating which one to use.
2:35 am on July 20, 2013 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

joined:Apr 9, 2011
posts:13266
votes: 363


An even better analogy may be a building with labeled entrances: Staff vs. Customers, or Men vs. Women. There's more than one way in, but any given visitor is only allowed to use one door.
6:55 am on July 25, 2013 (gmt 0)

New User

joined:July 25, 2013
posts:2
votes: 0


If your website is being opened without www, it means you don't have a canonical tag on it. Its simple to do. Just add the below given code in head section of your website's homepage.

<link rel="canonical" href="http://www.example.com/" />
11:27 am on July 25, 2013 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
posts:18903
votes: 0


That only helps the root, and it doesn't stop the proliferation of new links to the wrong version as the browser address bar can still show the "wrong" version (which people then cut and paste elsewhere). The site-wide redirect fixes those problems for every page.