Title: og:url filter missing
Last modified: August 31, 2016

---

# og:url filter missing

 *  Resolved [abcfolio](https://wordpress.org/support/users/abcfolio/)
 * (@abcfolio)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/ogurl-filter-missing/)
 * There is no filter in `function og_url`
 * It’s by design and should I use some other filter to customize og:url?
 * This plugin is getting better with every release.
 * [https://wordpress.org/plugins/autodescription/](https://wordpress.org/plugins/autodescription/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * (@cybr)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/ogurl-filter-missing/#post-7038340)
 * Hi abcfolio,
 * The og:url is a copy of the canonical URL.
    If the canonical URL mismatches the
   page, and leads to something that isn’t presented (e.g. https instead of http),
   this could cause indexing problems.
 * Nevertheless, what do you wish to change about the URL?
    The og:url isn’t too
   important for canonical indexing, so I’ll think about adding a filter for changing
   its output.
 * 2.6.0 (upcoming release) will already contain a few adjustments to the URL creation,
   including new/broader filters.
 * Enjoy your day 🙂
 *  Thread Starter [abcfolio](https://wordpress.org/support/users/abcfolio/)
 * (@abcfolio)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/ogurl-filter-missing/#post-7038426)
 * OK. So how do I customize canonical?
 * When I provide custom Url to `the_seo_framework_output_canonical` filter it ignores
   it. When I echo canonical tag and return false it creates a proper custom tag
   but it doesn’t customize og_url.
 * In case you wonder why I need a custom url, the answer is dynamic pages (page
   with query parameters).
 *  Plugin Author [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * (@cybr)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/ogurl-filter-missing/#post-7038444)
 * Hi abcfolio,
 * The `the_seo_framework_output_canonical` filter allows you to disable the canonical
   URL output. This doesn’t affect the og:url output and only uses booleans (true
   or false).
 * In 2.6.0 more filters will be added to support your request, until then I’m afraid
   I can’t help you. 🙁
 * I’ll keep you posted on how and when.
 * I hope this clears things up!
 * P.S. if this is regarding WPML query parameters for language, it will be automatically
   be included in 2.6.0 🙂
 *  Thread Starter [abcfolio](https://wordpress.org/support/users/abcfolio/)
 * (@abcfolio)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/ogurl-filter-missing/#post-7038449)
 * That is OK. I’ve already added a `the_seo_framework_ogurl_output` filter to og_url.
   Works great so I can wait for an update.
 * Speaking of update. Is it possible to modify the_seo_framework_output_canonical
   filter to accept boolean or url string? This way I would not to have run the 
   og_url filter.
 *  Plugin Author [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * (@cybr)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/ogurl-filter-missing/#post-7038450)
 * Hi abcfolio,
 * It’s good to see you know your way around PHP, awesome!
 * It will be another filter, my goal with 2.6.0 is to generalize everything, including
   filters like the one you proposed :).
 * Stay tuned!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘og:url filter missing’ is closed to new replies.

 * ![](https://ps.w.org/autodescription/assets/icon.svg?rev=3000376)
 * [The SEO Framework – Fast, Automated, Effortless.](https://wordpress.org/plugins/autodescription/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autodescription/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autodescription/)
 * [Active Topics](https://wordpress.org/support/plugin/autodescription/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autodescription/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autodescription/reviews/)

## Tags

 * [filter](https://wordpress.org/support/topic-tag/filter/)
 * [og:url](https://wordpress.org/support/topic-tag/ogurl/)

 * 5 replies
 * 2 participants
 * Last reply from: [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/ogurl-filter-missing/#post-7038450)
 * Status: resolved