toggle menu

Meta Canonical remove and view as per Custome path of Request URI

Sanjana Kumari |22 Mar at 06:03

Issues with the meta canonical path after cahnge with custome path, seems original path rether than as Per New URL.
We have done with below works :
$pathqery=explode('?',$_SERVER['REQUEST_URI']);
?>

remove_action('wp_head', 'rel_canonical');
wp_head();
....

....

  • 4 likes
  • 1 comment

Dhanavi29 Mar at 06:03

Thanks, it's working fine

Posted:

22 Mar at 06:03

Viewed:

1428 times

Active:

06 Apr at 05:04