Yoast SEO
[Plugin: WordPress SEO by Yoast] global or filter for manually setting canonical (1 post)

  1. Benjamin Favre
    Posted 4 years ago #

    Hi Joost. Loving the plugin.
    Just one thing tho.

    I want to be able to decide what the canonical url for a page is by setting some kind of a global or by hooking into one of your functions.

    Pages created using the Pods CMS plugin could benefit from that, as well as any custom implementation.

    Right now the canonical() function is a bit restrictive. Maybe you could add a check to see if a global for example "$wpseo_canonical" is set. If so canonical() would output the url set in this variable.

    Right now all the custom pages I have outstide of WordPress post types point back to the baseurl :(.

    By the way i didn't encounter this problem with the page title cause of course i can filter wp_title() for my own global. But you could maybe make it easier to set the title to ?

    Hope you can fit something in soon to do all this. Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 4 years ago by Benjamin Favre
  • This topic is not resolved
  • WordPress version: 3.0.1