WordPress.org

Ready to get started?Download WordPress

Forums

Titles and archives not linking correctly (5 posts)

  1. shadow
    Member
    Posted 9 years ago #

    Site: http://os42.com
    Version: WP 1.5.3
    Theme: Connections [adapted]

    I have a problem with the titles of my posts. They link to my archives page and not to the post itself when clicked.

    Also, in my archives, the links are not taking me to the post either.

    I am using the runphp plugin in some of the posts but cannot see why this would cause any problems. I am also using the srg_clean_archives but taking this out had no effect either.

    If anyone has any ideas it would great to hear from you :) Thanks.

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Hi Shadow !!

    What code do you have in post.php for the individual post tiles ?
    <div class="post-info"><h2 class="post-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2>

  3. shadow
    Member
    Posted 9 years ago #

    Hiya Podz :)

    Snap - it looks exactly like that.

  4. Mark (podz)
    Support Maven
    Posted 9 years ago #

    What permalink structure do you have ?

  5. shadow
    Member
    Posted 9 years ago #

    /index.php/archives/%post_id%

    but just changed it to %postname% and that seems to have sorted things out.

    Thanks Podz :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.