View Single Post
  #9  
Old January 16th, 2014, 10:53 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

Yes, I see a problem. Your canonical link is messed up because of a conflict with the Yoast plugin.

I would add the following code to your theme's functions.php file:

PHP Code:
/**
 * This removes the Yoast Wordpress SEO plugin generated canonical links on all Datafeedr store pages.
 */
add_filter'wpseo_canonical''dfr_remove_wpseo_canonical' );  
function 
dfr_remove_wpseo_canonical$canonical ) { 
    if (
is_dfr()) { 
        
$canonical false
    } 
    return 
$canonical

Eric