WordPress.org

Forums

Yoast SEO
Get canonical url to use somewhere else (2 posts)

  1. Automatic-rock
    Member
    Posted 2 years ago #

    Hi

    To add some social buttons to my site I'd like to use the canonical url that your SEO pluggin creates in the head. Because this is always the right url, while get_permalink() only gives the correct url for single pages, not for category or taxonomy pages.

    Is there anyway I can call your canonical function to get the canonical url??

    Kind regards,
    Benno

    http://wordpress.org/extend/plugins/wordpress-seo/

  2. sasa1
    Member
    Posted 1 year ago #

    i need to bump this! - pls any help on this?

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic

Tags