Hello,
Thank you for bringing this to our attention and apologies for the inconvenience caused.
If I may ask, why do you wish to remove the canonical tag from your page?
You can however use the following code on your theme’s functions.php file to remove Rank Math meta info apart from the title:
add_action( ‘wp_head’, function(){
if( is_singular(‘enter_product_post_type_name_here’)) {
remove_all_actions( ‘rank_math/head’ );
add_action( ‘wp_head’, ‘_wp_render_title_tag’, 2 );
}
}, 1 );
Please let me know if there is anything you need further assistance with.
Cheers,
Many thanks for the answer.
But that is not the solution!
The URL created by Rank-Math results in a 404 error.
If I can’t change or delete the URL, how should I fix it?
The URL created by Rank-Math results in a 404 error.
If I can’t change or delete the URL, how should I fix it?
The Rank-Math URL works in 3 languages, but in one language it always leads to a 404 error.
And as already said the error cannot be fixed.
How can you delete a canonical url ???
Thanks
https://es.ollala.com/categoria-producto/dildos-es it doesn’t work
https://www.ollala.com/product-category/dildos work
https://it.ollala.com/categoria-prodotto/dildo work
https://fr.ollala.com/categorie-produit/godes work
the url at http://www.ollala.com is structured differently than in the other languages, why ??
In the source language English
in http://www.ollala.com the URL is like this:……../product-category/dildos – starts with “product”
in es.ollala.com the url is like this:…………/categoria-producto/dildos-es
in it.ollala.com the url is like this:…………./categoria-prodotto/dildo
in fr.ollala.com the url is like this:…………./categorie-produit/godes
Why ?
Hello,
Thank you for the update, and sorry for the delay.
I’ve checked the link you have provided but I’m unable to find the canonical URL you are referring to.
However, the Product category base default structure is product-category
in the English language.
If you wanted to change it, you can do so by heading to your WordPress Dashboard > Settings > Permalinks
I hope that helps. Thank you, and please don’t hesitate to contact us anytime if you need further assistance with anything else.
Hello,
We are glad that we have addressed your concerns.
If you have any other questions, please don’t hesitate to contact us anytime by creating a new ticket to assist you further with anything else.
Thank you.