-
Hi – this is my 4th support ticket on this topic, hoping to finally get this issue resolved.
1) I have a directory plugin that creates custom taxonomies for category pages
2) I set up RankMath to be able to set the SEO Controls for each category/custom taxonomy (WordPress Dashboard > Rank Math > Titles & Meta > [custom taxonomy] and enabled the “Add SEO Controls” option)
3) For each category, I am selecting an image using the RankMath Social Box just like I do on regular postsUnfortunately the source code is showing the sitewide image for og:image. I need it to use the photo I select via RankMath. This works on regular pages/posts (it shows the image I select using the RankMath box) but does not work on custom taxonomies like directory categories.
TROUBLESHOOTING: When I use my current theme (Astra Pro) it doesn’t use the photo I’ve selected. When I switch to a different theme (Twenty Twenty Two) it works as it should and pulls the correct og:image for the custom taxonomy page. This leads me to believe it could be a conflict with the theme?
I have 300 directory categories / website pages where this is an issue – if I try to share any of them on social, it shows a generic website image instead of the assigned photo. Unfortunately if I can’t get this resolved I’ll have to switch back to Yoast which would make me very sad, I like RankMath much better.
Here are sample pages from my two directories:
https://lakelandmom.com/guide/bowling-birthday-party/
https://lakelandmom.com/summer-camps/art-craft-camps/Thank you!
The ticket ‘Force og:image on Custom Taxonomy Page’ is closed to new replies.