WordPress.org

Ready to get started?Download WordPress

Forums

Comments On (Static) Home Page leads to 404/Other random pages (1 post)

  1. KICKERMAN360
    Member
    Posted 5 years ago #

    Hi
    I have a rather interesting issue.

    I have added comments to static pages using this snippet of code:

    <?php comments_template(); ?>

    Now it works perfectly on EVERY other page except the home page. I have pretty perma-links enabled (only post name) and it leads to a 404 when a user presses submit. However if u reload the previous page the comment is there.

    If i change the perma-links to default it gets even more strange, upon pressing submit it redirects to the blog page.

    I have made sure there are closing tags on the comment form.
    It is a modified Kubrick theme but I haven't touched the comments page(s)' code.

    I have browsed heaps of posts but none seem to dfeine an answer.

    Thanks for any help

    (I am good at CSS, HTML and editing PHP)

Topic Closed

This topic has been closed to new replies.

About this Topic