For some time I have not been able to figure out why sometimes Facebook gets the right image for our home page in posts and sometimes it does not. I have just used the facebook meta tag debugger tool (https://developers.facebook.com/tools/debug/og/object/) and it cannot see the correct brochure home page meta tags when the home page being viewed is: www.secretgardenquilting.co.uk/index.html rather than just www.secretgardenquilting.co.uk.
The meta tags are correctly setup for the brochure home page (www.secretgardenquilting.co.uk) and the same ones appear on the index.html variant. However Facebook does not seem to like them/use them (as seen in the debug tool). For reference they are:
<meta property="og:site_name" content="Secret Garden Quilting UK"/>
<meta itemprop="name" content="Secret Garden Quilting" />
<meta itemprop="description" content="Quilting fabric UK shop with hundreds of quilting fabrics fat quarters, patchwork fabric off the bolt, quilt fabric bundles, Batik fabric, Fat quarter bundles, Jelly Rolls, Charm packs, Quilting Kits, from Moda, Makower, Lecien, Stof and more."" />
<meta itemprop="image" content="http://www.secretgardenquilting.co.uk/acatalog/SGQ_Home_Page_Social.png" >
<link rel="canonical" href="http://www.secretgardenquilting.co.uk/" />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://www.secretgardenquilting.co.uk/"/>
<meta property="og:title" content="Secret Garden Quilting" />
<meta property="og:description" content="Quilting fabric UK shop with hundreds of quilting fabrics fat quarters, patchwork fabric off the bolt, quilt fabric bundles, Batik fabric, Fat quarter bundles, Jelly Rolls, Charm packs, Quilting Kits, from Moda, Makower, Lecien, Stof and more."" />
<meta property="og:image" content="http://www.secretgardenquilting.co.uk/acatalog/SGQ_Home_Page_Social.png" >
<link href="acatalog/actinic.css" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="http://www.secretgardenquilting.co.uk/acatalog/favicon.ico" type="image/x-icon" /><style type="text/css">
I was hoping someone could either:
1. let me know how to redirect the index.html page to the www.secretgardenquilting.co.uk page so there is no time that people stay on the index.html page or;
2. help me out with the block if statement I need to generate the meta tags facebook would like for this page.
Many thanks
Tony
The meta tags are correctly setup for the brochure home page (www.secretgardenquilting.co.uk) and the same ones appear on the index.html variant. However Facebook does not seem to like them/use them (as seen in the debug tool). For reference they are:
<meta property="og:site_name" content="Secret Garden Quilting UK"/>
<meta itemprop="name" content="Secret Garden Quilting" />
<meta itemprop="description" content="Quilting fabric UK shop with hundreds of quilting fabrics fat quarters, patchwork fabric off the bolt, quilt fabric bundles, Batik fabric, Fat quarter bundles, Jelly Rolls, Charm packs, Quilting Kits, from Moda, Makower, Lecien, Stof and more."" />
<meta itemprop="image" content="http://www.secretgardenquilting.co.uk/acatalog/SGQ_Home_Page_Social.png" >
<link rel="canonical" href="http://www.secretgardenquilting.co.uk/" />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://www.secretgardenquilting.co.uk/"/>
<meta property="og:title" content="Secret Garden Quilting" />
<meta property="og:description" content="Quilting fabric UK shop with hundreds of quilting fabrics fat quarters, patchwork fabric off the bolt, quilt fabric bundles, Batik fabric, Fat quarter bundles, Jelly Rolls, Charm packs, Quilting Kits, from Moda, Makower, Lecien, Stof and more."" />
<meta property="og:image" content="http://www.secretgardenquilting.co.uk/acatalog/SGQ_Home_Page_Social.png" >
<link href="acatalog/actinic.css" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="http://www.secretgardenquilting.co.uk/acatalog/favicon.ico" type="image/x-icon" /><style type="text/css">
I was hoping someone could either:
1. let me know how to redirect the index.html page to the www.secretgardenquilting.co.uk page so there is no time that people stay on the index.html page or;
2. help me out with the block if statement I need to generate the meta tags facebook would like for this page.
Many thanks
Tony
Comment