Title: Author.php not working
Last modified: August 20, 2016

---

# Author.php not working

 *  [ernestg](https://wordpress.org/support/users/ernestg/)
 * (@ernestg)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/authorphp-not-working/)
 * 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 “[http://mysite.com/purpledog&#8221](http://mysite.com/purpledog&#8221);
   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)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/authorphp-not-working/#post-2573758)
 * See [author templates](http://codex.wordpress.org/Author_Templates)
 *  Thread Starter [ernestg](https://wordpress.org/support/users/ernestg/)
 * (@ernestg)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/authorphp-not-working/#post-2574118)
 * 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](https://wordpress.org/support/users/ernestg/)
 * (@ernestg)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/authorphp-not-working/#post-2574119)
 * 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.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [ernestg](https://wordpress.org/support/users/ernestg/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/authorphp-not-working/#post-2574119)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
