I have a problem with my wordpress blog here. everything seems to be working fine but the problem is after each post i am appending author information like the image below

Murali Prashanth

but when i click on the

View all posts by Murali Prashanth hyperlink

it's redirecting me to this URL http://muraliprashanth.me/author/Murali%20Prashanth/ I don't know where to create the author profile page or does my wordpress theme supports author profile pages or not Please suggest me i am struggling to resolve this issue from past 3 months, Help is much appreciated.

Thanks in advance.

2 Answers 2


How are you creating the author's link?

If you put in your template:

<?php the_author_posts_link(); ?>

It will write the author's name and link for the current post.

To modify the template for the author page, wordpress search for the following files in your theme's folder (in this order):

  1. author-{nicename}.php
  2. author-{id}.php
  3. author.php
  4. archive.php
  5. index.php
  • yes i have author.php page
    – Murali N
    Dec 22, 2012 at 10:40
  • can you put here the code you use to write the author information?
    – dbeja
    Dec 22, 2012 at 11:34
  • this is the sample code i am using codex.wordpress.org/Author_Templates#Sample_Template_File
    – Murali N
    Dec 22, 2012 at 11:36
  • no, I mean what you use in single post to show the author's link.
    – dbeja
    Dec 22, 2012 at 11:38
  • i used cool author box plugin to add author information
    – Murali N
    Dec 22, 2012 at 11:39

Looks like you don't have author.php file.

Make sure you have author.php file.

sample author.php code

<?php get_header(); ?>

<div id="content" class="narrowcolumn">

<!-- This sets the $curauth variable -->

    $curauth = (isset($_GET['author_name'])) ? get_user_by('slug', $author_name) : get_userdata(intval($author));

    <h2>About: <?php echo $curauth->nickname; ?></h2>
        <dd><a href="<?php echo $curauth->user_url; ?>"><?php echo $curauth->user_url; ?></a></dd>
        <dd><?php echo $curauth->user_description; ?></dd>

    <h2>Posts by <?php echo $curauth->nickname; ?>:</h2>

<!-- The Loop -->

    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
            <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>">
            <?php the_title(); ?></a>,
            <?php the_time('d M Y'); ?> in <?php the_category('&');?>

    <?php endwhile; else: ?>
        <p><?php _e('No posts by this author.'); ?></p>

    <?php endif; ?>

<!-- End Loop -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.