Some webmasters would not bother if other sites are linking to their sites with or without www prefix, i.e. http://www.domain.com or just http://domain.com. At first glance it looks like there is no difference. 
Is it good having your site linked by others in www and non-www format?
Search engines like Google treat these as links to different pages. The real hazard is that you are likely to end up with both versions of the same site spidered, which will create duplicate content conflicts.
Try checking PageRank of your site with and without www. Most probably you'll get different values. Site could have better page rank if inbound links were not spread between www.domain.com and just domain.com.
What can we do to prevent link popularity spreading between www and non-www domain?
The first thing to do is to make a decision on www vs. non-www and follow the same convention consistently for all the links on your site. Use permanent redirects (301) to keep spiders fetching the correct page. 
In this way you'll be able to control it on your site. But how to fix inbound links?
You could not control inbound links until few weeks ago. Now situation gets better.
Google provides us with 
Google Webmaster Tools (formerly known as Google Sitemaps). This tool lets you see how Google crawls and indexes your site and learn about specific problems they are having accessing it. You can see the URL of the page with highest page rank, see PageRank distribution on your site, inform Google which pages are most important to you and how often they change. 
One very important feature added recently to Google Webmaster Tools was setting your preferred domain.
In order to set preferred domain add www and non-www site to the list of your sites, verify ownership of both sites (Manage Site Verification link on Diagnostic tab). Then click the site link on the My Sites page and click Preferred Domain from the Diagnostic tab. You can choose from the following:
  - Display URLs as http://www.yoursite.com
- Display URLs as http://yoursite.com
- Don't set an association
If you choose don't set an association, Google may treat the www and non-www versions of the domain as references to separate pages. If you choose a version, Google uses that information when crawling links to your site that use either version of the URL. This information is also used to determine how to display URLs for your site in the index.
This new option may help Google to avoid setting different page ranks on www and non-www versions of the same site. This may even increase your site's PageRank since page rank of both site versions now would be passed onto one.
                    
                    
                      
                        lomotbiz [anti-spam] hotmail.com
                      
                      April 12, 2008
                      
                      Trendsdepot.com is a retailer of athletic footwear and clothing including nike air force ones, michael air jordans, timberlands and air max shoes. Some of our clothing brands include akademiks, coogi, phat farm, sean john and many more. Please visit Trends Depot to view the selection of apparel and shoes available to you.
                      
                     
                    
                      
                        www.seo-page-rank.com
                      
                      November  8, 2008
                      
                      Nice post. Good tips, thanks.
                      
                     
                    
                      
                        beuthling [anti-spam] gmail.com
                      
                      January 29, 2009
                      
                      Dude this aint a place to sell your  shoes
 Beuthling
                      
                     
                    
                      
                        www.sunehre.com
                      
                      March 26, 2009
                      
                      Nice post, I will try it..
                      
                     
                    
                      
                        Karl Kelman
                      
                      April 30, 2010
                      
                      Good information.  You can also use rewrite rules in .htaccess if you've 
moved files or changed extensions (html to php, etc.) 
                      
                     
                    
                      
                        allupdatz
                      
                      October 27, 2011
                      
                      allupdatz.blogspot.com @nice
                      
                     
                    
                      
                        www.e-serocky.sk
                      
                      November  5, 2011
                      
                      Nice article and very usefull. Really thanks man!
                      
                     
                    
                      
                        cruise-holidays.info
                      
                      April 25, 2012
                      
                      Thanks for the advice on the domain name
                      
                     
                    
                      
                        www.informdigital.com
                      
                      May 13, 2012
                      
                      Thanks zubrag - I have just done thsi in webmaster tools but wasnt sure how important por not it was to set a preferred domain - nicely explained as to why it is. cheers
                      
                     
                    
                      
                        pravash
                      
                      June  4, 2012
                      
                      I changed my www to non www version but my SERP result is acting crazy. It is dropping and rising by 100's every day or 2 and seems to be at page 30-60. :( first it used to be at 2-3 . Also one thing do i have to set the preferred domain name in both of the domains in webmaster tool ?
                      
                     
                    
                      
                        www.fda-pharm.com
                      
                      September 17, 2012
                      
                      I felt significant SERP improvements after choosing preferred domain (www). So I suppose that there were some duplicate content problems with because of inbound links.
                      
                     
                    
                      
                        www.haziqfadhila.asia
                      
                      October 21, 2012
                      
                      Can anybody show the theory improvement?? is there any tools or software to increasing PR??
                      
                     
                    
                      
                        www.engrz.com
                      
                      March 21, 2013
                      
                      nice post, very informative
                      
                     
                    
                      
                        prakash.mishra005 [anti-spam] gmail.com
                      
                      October  7, 2013
                      
                      My website www.pushentr.com has pagevisits but N/A page rank.
                      
                     
                    
                      
                        al
                      
                      March  9, 2014
                      
                      all vacancies found here thankssr
http://www.governmentvacancy.info/
                      
                     
                    
                      
                        excelanto [anti-spam] gmail.com
                      
                      March 20, 2014
                      
                      thanks for your valuable posting,it was very informative. i am working in <a href="http://www.excelanto.com/erp-for-manufacturing-company-chennai.php">Erp in Chennai</a> 
                      
                     
                    
                      
                        dntoolz [anti-spam] gmail.com
                      
                      May  7, 2014
                      
                      It is so true that google page rank is not the only way to rank on
google. Another truth is that we almost forget that to do a business
online we dont need google at all its just that google ranking brings a
lots of organic traffic to the site which is targeted.
But the thing is we only need targeted traffic to do business that
does not mean google is the only place to do that. You can get traffic
in a lots of ways like social media, email marketing, paid advertising
so dont dump them they are very good traffic as well.
Its also true that no matter how hard you try no more then 10 searches
will be showen to google search so only 10 websites seo will be worth it
other are almost waste of time.
So in my view you should focus on your content and promotion of your websites with other real time methods.
Thanks.
Regards CEO
Dntoolz.com
                      
                     
                    
                      
                        administrator [anti-spam] lavarenne.qa
                      
                      May 30, 2014
                      
                      Hey, good day
Usually I don’t read post on blogs, however I would like to say that this write-up very pressured me to check out and do it! Your writing style has been surprised me. 
Thank you, quite nice post.
Regards,
La Varenne
<a href="http://www.lavarenne.qa">www.lavarenne.qa</a>
                      
                     
                    
                      
                        excelanto [anti-spam] gmail.com
                      
                      September 19, 2014
                      
                      
Everyone loves it when folks come together and share opinions.
Great website, stick with it! Am working in <a> href="http://www.excelanto.com"> Construction Management System In Chennai </a>.
                      
                     
                    
                      
                        explorequotes
                      
                      October 11, 2014
                      
                      Great wonderful points.
Each and every single point mentioned above has its own importance.
But Anyways,
thanks for this article...
I really love it !!
keep it up good work !! :)
Thanks and Regards,
Jemmi Wilson.
http://explorequotes.com/
                      
                     
                    
                      
                        jamilkhatri2014 [anti-spam] gmail.com
                      
                      December  7, 2014
                      
                      Thank's Nice Post....<a href="http://www.techrainy.com/2014/10/how-to-improve-google-page-ranking.html">How to Improve Google Page Ranking </a>
                      
                     
                    
                      
                        excelanto [anti-spam] gmail.com
                      
                      February 24, 2015
                      
                      Thanks For Your valuable posting,this is for wonderful sharing,I would  like to see more information from your side.I am working in <a href="http://www.excelanto.com">Web Design Company In Chennai</a>
                      
                     
                    
                      
                        http://www.stalliontechnologies.in/
                      
                      April 15, 2016
                      
                      grt
                      
                     
                    
                      
                        PARENT Nashik
                      
                      September  1, 2016
                      
                      nice post, keep posting..
<a href=”https://plus.google.com/101126054354609431089?rel=author”>Google+</a>