Support » Plugins and Hacks » Filter to Change <link rel=’canonical’ …>?
6 years, 9 months ago
I’ve some duplicate content so I need to replace the standard canonical rels but I cannot find a filter in the codex. Can anybody suggest what I can use please?
6 years, 2 months ago
Because, there is no such filter, nor action in the code.
I ran into the some problem.
The soulition I’ve found is to remove the “rel_canonical” filter from wp_head, and add my own filter to wp_head to generate the custom canonical URL.