-
My use-case is I need to set the canonical REL of a page to an external URL value that I can only obtain programmatically. However, when I add a filter with the intent of inserting a canonical URL link on a page using the RankMath API, nothing changes in the post_meta. The only time a canonical value is added to post_meta is when you change one manually. Am I missing something, or is that API useless (for my use case)? It sure isn’t properly described in the docs — i.e., you need to already have a custom canonical value set for the filter to work.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The ticket ‘Canonical URL API’ is closed to new replies.