I’m using rewrites and endpoints to add extra pages to my site.
For example I have a profile post (custom post type) called:
example.com/member/shauny/
and I add an extra page to that using an endpoint so it’s:
example.com/member/shauny/reviews/
I also use it for a page /reviews/ so I can add extra rewrites for:
example.com/reviews/itemname/shauny/
This all works great however the SEO plugin uses og:url, rel=canonical and json to point back to the original URL, so sharing on things like Facebook result in the wrong URL!
How can I alter all of those to show the correct URL?
Thanks
Shaun