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; ?>"/>