• I have set up the latest wordpress on 3 of my sites and the comments works on neither of them…
    They should all load on index.php?p=??#comments but they don’t. If I put in /wordpress before and then load the page, they work simply as that…
    But I can’t make them load on index.php?p=??#comments. I have made sure that the blog url is the right one and that the home is the right one as well…
    How can I fix my problem?? I am not a newbie but for some reason I can’t fix this problem.

Viewing 4 replies - 1 through 4 (of 4 total)
  • do you mean that it loads properly with the URL reads
    /wordpress/index.php?p=#comments
    but does not if you leave out the /wordpress?
    Although I *am* a newbie, I will hazard a guess that your index.php is installed in a /wordpress subdirectory. Ok, that may be too obvious and not the answer you are looking for. Is the index.php working if you simply type that in for a URL without the /wordpress preceeding it? Have you done some sort of redirect using — I don’t know — .htaccess or something similar? Are there any other idiosyncracies to your set-up?

    What do you mean by “the latest wordpress “?? Nighly?
    If yes, please visit this:
    http://wordpress.org/support/3/12916

    Do you have rewrite rules set up for your site?

    Thread Starter ludvig87

    (@ludvig87)

    the mingus version….
    the index is in the root with the abspath to wpcomments.php..
    code is this:
    <?php
    /* Don’t remove this line. */
    require(‘wordpress/wp-blog-header.php’);
    ?>
    <? include(“header.php”) ?>
    <?php wp_get_archives(‘type=monthly&format=link’); ?>
    <?php //comments_popup_script(); // off by default ?>
    <?php wp_head(); ?>
    <?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
    <?php static $counter = 1; if ( $counter > “20” ) { break; } else { if ( in_category(2) && !$single ) { ?>
    <?php the_date(”,'<h5>’,'</h5>’); ?><h6><div align=”right”>Posted by <?php the_author() ?></div></h6>
    <?php the_content(); ?>
    <?php include(ABSPATH . ‘wp-comments.php’); ?>
    <?php comments_popup_link(__(‘Comments (0)’), __(‘Comments (1)’), __(‘Comments (%)’)); ?>
    <?php $counter++; } } ?>
    <?php endforeach; else: ?>
    <?php _e(‘Sorry, no posts matched your criteria.’); ?>
    <?php endif; ?>
    <? include(“footer.php”) ?>
    Wordpress is installed to /wordpress, index is in root, blog url is set to have the /wordpress in it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Comments ain’t working though set up right’ is closed to new replies.