WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] The author link points to wrong link... Why? (3 posts)

  1. nchenga
    Member
    Posted 5 years ago #

    for some reason

    <?php the_author_link(); ?>

    is linking to /author/authorname

    instead of the URL listed in the WP Admin Interface -> Author Profile as described here: http://codex.wordpress.org/Template_Tags/the_author_link

    I want to link to the URL stored in the Profile. How do I do use the_author_link or $curauth->user_url; ?

    I'm using:

    wp 2.5

    and an older theme by Becca Wei
    http://beccary.com/

  2. nchenga
    Member
    Posted 5 years ago #

    found the answer on my own...

    i forgot to change it in The Loop!

    should work now

  3. Samuel Wood (Otto)
    Tech Ninja
    Posted 5 years ago #

    The the_author_link function is supposed to link to the /author/authorname page. If you want the author's url, as set in their profile, then use the_author_url instead.

Topic Closed

This topic has been closed to new replies.

About this Topic