I am new to web design. When I copy a link from my website and paste it in Face Book, how do i control the title that appears? Does it come from the title attribute in the head section or from elsewhere, because what is actually appearing is an old Title.
You need open graph meta tags like this <meta property="og:type" content="website" /> <meta property='og:image' content='http://example.com/images/hummus.jpg' /> <meta property="og:title" content="Where I buy hummus" /> <meta property="og:site_name" content="My Fabulous Life" /> Code (markup):
Before, facebook allows you to edit the title and description of the link you are pasting on your wall. But now, I don't think it is still the same. However for wordpress site, there is an SEO plugin where you can optimize the title and description of your link.
It's in the meta tags of your website that holds the property to display the title and description which appears when you paste the url.