WordPress.org

Ready to get started?Download WordPress

Forums

Comment link not working! (15 posts)

  1. edreams
    Member
    Posted 8 years ago #

    It looks like it is posting the URL for the comment link twice. If you hover over it, you can see this. Can anyone help me? Thank You!

  2. oriecat
    Member
    Posted 8 years ago #

    Same thing with your permalinks.

    Maybe double check what you have the URI options set as?

  3. tomhanna
    Member
    Posted 8 years ago #

    It's doing it with your permalinks, too.

    Check your general options and make sure that these are correct:
    WordPress address (URI):
    Blog address (URI):

    If that isn't the problem, in your Main Template make sure that you don't have your website address in front of the comment and permalink code. In other words, for the permalinks for example, you want to have

    <a href="<?php the_permalink() ?>

    Not

    <a href="http://mytwistedlogic.com/<?php the_permalink() ?>

  4. edreams
    Member
    Posted 8 years ago #

    In options they are both listed as
    http://mytwistedlogic.com
    nope, its not that....

  5. edreams
    Member
    Posted 8 years ago #


    <?php get_header(); ?>

    <!-- begin content -->
    <div id="content" class="narrowcolumn">

    <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>

    <div class="divTitle1">
    <div class="divTitle3"><span class="titolino"><?php the_title(); ?></span>
    Posted on : <?php the_time('F jS, Y') ?> @ <?php the_time('g:i a'); ?> by <img src="images/name.gif" alt="name" title="name"/> </div></div>
    <div class="post" id="post-<?php the_ID(); ?>">
    <span class="pside">Admin :</span><?php edit_post_link('Edit the post.','',''); ?>
    <span class="pside">Post category :</span> <?php the_category(', ') ?>
    <span class="pside">Link to post :</span> ">permalink
    <span class="pside">Comments :</span> <img src="/images/speechbubble.gif" alt="speechbubble" title="speechbubble"/> <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?>
    <div class="entry">
    <?php the_content('Read the rest of this entry »'); ?>
    </div>

    </div>
    <?php comments_template(); // Get wp-comments.php template ?>

    <?php endwhile; ?>

    <div class="navigation">
    <div class="alignleft"><?php next_posts_link('« Previous Entries') ?></div>
    <div class="alignright"><?php previous_posts_link('Next Entries »') ?></div>
    </div>

    <?php else : ?>
    <div class="box">
    <h2 class="center">Not Found</h2>
    <p class="center">Sorry, but you are looking for something that isn't here.
    <?php include (TEMPLATEPATH . "/searchform.php"); ?>
    </div>
    <?php endif; ?>

    </div>
    <!--end content -->

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

  6. edreams
    Member
    Posted 8 years ago #

    Should I try reuploading the file???

  7. Kafkaesqui

    Posted 8 years ago #

    ~Gotta read closer before I reply... ~

  8. edreams
    Member
    Posted 8 years ago #

    ???

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

    Please do not (1) double post http://wordpress.org/support/topic/42407 or (2) bump so quickly.
    Everyone posting here has something they need help with.

  10. oriecat
    Member
    Posted 8 years ago #

    Actually the category links and the calendar are off too.

    Are you positive that the URIs are exactly as you posted?
    Do you have anything set up in the Permalinks?

  11. oriecat
    Member
    Posted 8 years ago #

    Do you have your install in a pics folder? The category links to go to/pics/category and they work.

  12. edreams
    Member
    Posted 8 years ago #

    pics folder? nope...

  13. oriecat
    Member
    Posted 8 years ago #

    Permalinks?

  14. gromki
    Member
    Posted 8 years ago #

    Under the main directory (wordpress) create ".htaccess" file and add "DirectoryIndex index.php" to it.

  15. oriecat
    Member
    Posted 8 years ago #

    Looks like she started over.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.