WordPress Remove Canonical


Follow This Code Just Copy and Past  Function.php file


<link rel="canonical" href="<?php get_site_url(); ?>"/>


<?php global $wp;
$current_url = add_query_arg( $wp->query_string, '', home_url( $wp->request ) ); ?>

<link rel="canonical" href="<?php echo $current_url; ?>"/>
WordPress Remove Canonical Developerinvention 5 of 5
Follow This Code Just Copy and Past  Function.php file <link rel="canonical" href="<?php get_site_url(); ?>&q...

Share this

Related Posts

Previous
Next Post »

Xolo Offer