WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Home -- is it siteurl or home? (4 posts)

  1. gregory.hk
    Member
    Posted 2 years ago #

    hi there.

    I'm using SEO v1.2.5

    in Dashboard/Settings/General, my WordPress URL and Site URL are different.

    SEO is using get_site_url() and assigning the resultant link to the root Home link in the breadcrumb trail. unfortunately, it's the wrong url. (/wordpress-seo/frontend/class-breadcrumbs.php line 73)

    according to WP's page here;

    The 'Home' setting is the address you want people to type in their browser to reach your WordPress blog

    .

    between this description and the labels in Settings/General, one could be forgiven for getting very confused, but it would appear that get_site_url() is not the ideal function to use to get the Home url of the site.

    could you change this? to perhaps get_option('home') ?

    cheers,
    Gregory

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

  2. gregory.hk
    Member
    Posted 2 years ago #

    or get_home_url()

  3. j.ypma
    Member
    Posted 2 years ago #

    Hi Gregory,

    I had the same problem. Installing the development version solved the problem.

    Regards,

    Jarich

  4. gregory.hk
    Member
    Posted 2 years ago #

    hello Jarich.

    thank you for the information. it's good to know :-)
    I've customised the relevant code until the next update is released.

    cheers,
    Gregory

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic