WordPress.org

Support

Support » Plugins and Hacks » Filter to Change <link rel=’canonical’ …>?

Filter to Change <link rel=’canonical’ …>?

  • 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?

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘Filter to Change <link rel=’canonical’ …>?’ is closed to new replies.
Skip to toolbar