WordPress.org

Ready to get started?Download WordPress

Forums

Comments Problem - Static Main Page (15 posts)

  1. JanFred
    Member
    Posted 5 years ago #

    Hi,

    I am creating a new site utilizing a static main page. The problem is when a comment is created and sent the user is not returned to the main page. It goes to another page with "Not Found
    Sorry, but you are looking for something that isn't here."

    The URL shows the site and http://XXXXX.com/comment-page-1#comment-20.

    All the other pages return correctly following a comment submission.

    My site is http://learnbasicphotography.com

    Thank you in advance for any help

    Dave

  2. Mr E
    Member
    Posted 5 years ago #

    I was returned to http://learnbasicphotography.com/comment-page-1#comment-21

    My page returned me to http://theworldsfullof.us/?page_id=2&cpage=1#comment-42

    Are you using anything that manages comments, or have you with this install in the past? I am not certain of all url changes in the options, but let me know if that is one of them as the last segment of your url sparks my question.

    E

  3. JanFred
    Member
    Posted 5 years ago #

    No, I am not using any comment plugins nor have I every with this install.

    I've only been working with WordPress and CSS for a couple weeks, but it seems that whatever code re-directs after comments are submitted can't find the main page because of it's status as a static page.
    If I am not am making sense, please let me know.

  4. Mr E
    Member
    Posted 5 years ago #

    You make sense, the information just helps direct folks to the solution ;)

    Does it do this with default theme?

    E

  5. JanFred
    Member
    Posted 5 years ago #

    With the default theme I can't even get the comments box to show.

    Dave

  6. JanFred
    Member
    Posted 5 years ago #

    This bit of code is at the bottom of index.php. Is there any way to alter this code to make it redirect back to my static home page?

    <?php
    // END of: If there are any posts
    // If there are no posts:
    else :
    ?>
    <h2><?php _e('Not Found','atahualpa'); ?></h2>
    <p><?php _e("Sorry, but you are looking for something that isn't here.","atahualpa"); ?></p>
    <?php endif; ?>
    <?php get_footer(); ?>

    Just a thought.

    Dave

  7. Mr E
    Member
    Posted 5 years ago #

    This looks like an issue with WordPress if its doing this on the default theme as well.

    I really am unsure why its redirecting back like that - I will try to look into it more tonight.

  8. JanFred
    Member
    Posted 5 years ago #

    Greatly Appreciated!

  9. Mr E
    Member
    Posted 5 years ago #

    Googled the topic and reading a bit about Using_Permalinks.

    Also give this thread a look.
    http://mu.wordpress.org/forums/topic.php?id=863
    Initially the thread starts off about images but it also (eventually) covers this 404 comments problem (or a 404 comments problem that is similar)

  10. JanFred
    Member
    Posted 5 years ago #

    Thanks ebiladdress

    My htaccess file does not have any of the referenced code. I guess I am just stuck for now.

    Thanks again,

    Dave

  11. KariG
    Member
    Posted 5 years ago #

    I'm having exactly this same problem - comments leading to a page not found due to the use of a static main page. Did anyone ever figure out a resolution?

  12. KariG
    Member
    Posted 5 years ago #

    I just discovered that this is an issue with comment pagination (in conjunction with using a static main page). In discussion settings, turn off the option to break comments into multiple pages and the problem goes away. A wordpress bug, evidently.

  13. JanFred
    Member
    Posted 5 years ago #

    Thanks KariG!

    You are my hero. It worked like a charm.

    Dave

  14. edetox
    Member
    Posted 5 years ago #

    I have found out that the answer lies in adding a pagination plugin. Once you add that in, it should be no problem for your comments.

  15. ourrug
    Member
    Posted 4 years ago #

    @edrtox what's the name of that pagination plugin you mention?!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.