• I have my custom template running and it works perfectly (tag.php, catergory.php) but the author.php does not.

    If my username is “purpledog”, I get sent to “https://mysite.com/purpledog” but, it gives me my page not found error.

    The code in author.php is the same as index.php.

    What could be the problem?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ernestg

    (@ernestg)

    Sorry, I didn’t get it to be fixed. It seems like it’s not being directed to my author.php file. Any suggestions?

    This is in my index:
    <a href="<?php the_author_link(); ?>"><?php the_author(); ?></a>

    And it’s not directing me to my author.php

    Thread Starter ernestg

    (@ernestg)

    FIXED:

    All I needed was to change my index.php to say this instead:
    <?php the_author_posts_link(); ?>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Author.php not working’ is closed to new replies.