WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Correct Home URL in breadcrumbs (3 posts)

  1. mateussouzaweb
    Member
    Posted 1 year ago #

    Hi, i found a problem in breadcrumb extension.

    The home URL is wrong. That happen because i use the home url in other place, in admin options. Eg:

    WordPress URL: site.com/wordpress (this URL is returned, instead of home URL)
    Home URL: site.com

    The problem can be resolved replacing get_site_url() with get_home_url().
    This is located in wordpress-seo/frontend/class-breadcrumbs.php on line 72.

    I hope this can help...

    WordPress version: 3.4.1
    WordPress SEO version: 1.2.5

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

  2. tljohnson
    Member
    Posted 1 year ago #

    Thanks for this - all sorted my end now!

  3. lcf
    Member
    Posted 1 year ago #

    Thanks! It saved my life!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic