schoolboy:
Here's a MAJOR error:
<meta property="og:url" content="http://www.jostaronline.com/contact_us.html?zenid=1c4cb4b3e73592bbef1d31d0cca6f967" />
Who put this in for you?
They should really be more careful !!!
NEVER put the zenid into a URL !!!
I think your <og: stuff is what is causing the problem...
Hi schoolboy,
This is a part of coding for a MOD called "Google Plus One (+1), Facebook Send and Twitter Follow" in the html_header.php in side /public_html/includes/templates/[CUSTOM TEMPLATE]/common.
Following is the original codes:
<!-- start of Facebook AutoOpenGraph meta tags -->
<meta property="og:title" content="<?php echo $depends; ?>" />
<meta property="fb:admins" content="302343939805037"/>
<meta property="og:type" content="<?php echo $product_type; ?>" />
**<meta property="og:url" content="<?php echo $prod_url; ?>" />
**<meta property="og:image" content="<?php echo $store_url . '/' . $img; ?>" />
<meta property="og:description" content="<?php echo META_TAG_DESCRIPTION; ?>" />
<meta property="og:site_name" content="<?php echo $store_name; ?>" />
<?php
if($use_addr){
echo '<meta property="og:street-address" content="'.$street.'" />'."\n";
echo '<meta property="og:locality" content="'.$city.'" />'."\n";
echo '<meta property="og:region" content="'.$state.'" />'."\n";
echo '<meta property="og:postal-code" content="'.$zip.'" />'."\n";
echo '<meta property="og:country-name" content="'.$country.'" />'."\n";
}
if($use_email){
echo '<meta property="og:email" content="'.$email_address.'" />'."\n";
}
if($use_phone){
echo '<meta property="og:phone_number" content="'.$phone_number.'" />'."\n";
}
?>
<!-- end of Facebook AutoOpenGraph meta tags -->
I'm not sure how ZENID went in there.
To be honest, PHP is way hard for me.
I found the "og:url" in another template folder done by a "Professional" and instead of "<?php echo $prod_url; ?>",
"<?php echo $canonicalLink; ?>" is there.
So I tried switching them but it did not work out and caused problem with SSL instead.
Am I missing something else? :huh: