rel=canonical missing on whole site, except anspress pages
Hi.
I’m using Anspress, but I realised it removes all rel=canonical tags placed by Yoast SEO on my website.
I found this function in /includes/class-theme.php, but I don’t know why it remove canonical on the other pages / taxonomies, it should only replace it on question taxonomy.
$this->ap->add_filter( 'wpseo_canonical', $this, 'wpseo_canonical' ); ... public function wpseo_canonical() { if ( is_question() ) { return get_permalink( get_question_id() ); } }
Is there any workaround for this, except replacing Yoast SEO with another SEO plugin.
Thanks in advance,
Cristian
Hi Rahul. Just checking to find out if there is any update on this
cristian.calin commented on answer
Same here. Have the update promissed by Rhaul Aryan have been pushed? Thanks!