Support » Fixing WordPress » the_author_posts_link()

  • Resolved whdr02

    (@whdr02)


    When I use this tag in the loop of my article it doesn’t link to the the authors posts but to the home page.

    http://improvethequality.com select any article to see the attribution link.

Viewing 8 replies - 1 through 8 (of 8 total)
  • whdr02

    (@whdr02)

    The code actually reads:

    This article written by <?php the_author_posts_link(); ?>

    The link it attempts is http://www.improvethequality.com/author/jason/ but it then goes to the front page.

    MichaelH

    (@michaelh)

    See if updating your permalink structure resolves the problem.

    whdr02

    (@whdr02)

    I tried it with the default and it didn’t help. Do suggest a particular structure?

    MichaelH

    (@michaelh)

    Not necessarily another structure, but do “Saving Changes” with your existing default structure. Note that with the default structure I would expect your link to be something like:
    http://www.improvethequality.com/?author=1

    whdr02

    (@whdr02)

    When I changed it to the default the link was “http://www.improvethequality.com/?author=2” but the same result of going back to the home page in stead of an author page.

    I put it back to my custom structure after that and saved again. So, it is back to the way it started.

    MichaelH

    (@michaelh)

    Guessing either something in your .htaccess or a conflict from a plugin (or theme).

    whdr02

    (@whdr02)

    That is what I thought as well, I have deactivated all the plugins I thought could affect it one at a time. The theme works on my dev site. In fact this whole thing works on my local dev site. (it isn’t a perfect copy of my real site) I just can’t find out the difference.

    I will look into the .htaccess file.

    whdr02

    (@whdr02)

    It turned out to be the Robots meta Plugin.

    I wouldn’t have guessed that one.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘the_author_posts_link()’ is closed to new replies.