Support » Fixing WordPress » readers unable to log in and comment

Viewing 8 replies - 1 through 8 (of 8 total)
  • bump

    Check comments.php. It should include a couple of lines something like:

    <?php if (get_option('comment_registration') &amp;&amp; !$user_ID ) : ?>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>">logged in</a> to post a comment.
    <?php elseif($user_ID ) : ?>You are currently logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url(get_permalink()); ?>">Log out</a><?php endif;?>

    Well, it’s been 10 months and I still have the same problem. I checked comments.php and what you’ve posted there doesn’t make any sense with the current version.

    I’ve disabled all plug-ins – gone back to the default theme – nothing fixes it.

    Any ideas?



    If I bump this, does it get back to the top? Seriously – 10 months with no ability to comment. I’ve re-loaded all of WordPress and still nothing fixes the problem. Nobody – even admins – can write comments. It just tells you that you need to log in, then you log in and it takes you back to the original post and tells you you must log in to post comments. The loop never ends.


    This is a bit of a stretch, I’ve only see it be an issue twice….but why not suggest it. In your general settings, where you have your blog and WP urls setup, do they both either start, or do not start with www?

    I had as my wordpress url, but as my blog url (no /wordpress directory, but that’s how I have it set up)

    so the lack of www in my wordpress url caused some sort of authentication problem, and wouldn’t let people comment. Like I said, it’s a stretch……

    ALso, you never did give a url to your site….sometimes looking at the source can help us

    Hi – I’ve tried both non www and with www – neither fix it.


    PS: Why doesn’t this site notify of replies?


    Many thanks for your answer, I was having similar problems, users could post comments using IE, but not with Chrome, Firefox, or Opera. Users could log into their profiles using the link from the main page, but would not be kept logged in on any sub-page. Attempting to log-in to comment simply resulted in a page refresh.

    Updating my wordpress url to match the blog url fixed the problem.

    many thanks! you saved me from having to post a message and get slapped with the “have you searched yet” salami..

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘readers unable to log in and comment’ is closed to new replies.