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. Where is the fix? The problem is still happening with Anspress 3.0.5. I saw this same issue somewhere and I was told to change my SEO plugin. This is not right as another plugin having issue with Anspress should not ask me to change it because they cannot fix their issue.
It is not fixed from what i see. Maybe it escaped the developer’s list. But please understand this is a free plugin from a small developer and his is doing his best.
Be polite.
Hello,
I think I ahve already fixed this. But will check it again.
Not fixed, i assure you.
BUT works right with SEO FRAMEWORK plugin. (Only?) Yoast has that problem.
I am sorry if I sounded impolite. I didn’t mean to. Anspress is the most suitable solution for my website
Hi Rahul
Do you have any idea of when the fix would be done. I know you are busy but please this is important to us and critical for our website.
Well, i wouldn’t say it is critical and not a priority.
@ngrconsumers, I will have a look this Sunday and push a fix. Please don’t worry.
thank you sir! you are the best 🙂