Forums

Comments won't submit - 404 error (2 posts)

  1. charliepixie
    Member
    Posted 2 years ago #

    Hi,

    I've been trying to comment on a post - as a logged in user - but I keep getting a 404 error (and stupid webhosts re-direct it permanently to an advert of theirs so I have to keep deleting browser history because of the cache).

    It's the first time I've used a WordPress blog and not very familiar with php (still learning, early days!) so if anyone can figure out why it's doing it that would really, really help!

    The site is http://www.2011mountaingoats.co.uk/blog/

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Check you theme's comments.php template file. It should be using something like:

    <form action="<?php bloginfo('url'); ?>/wp-comments-post.php" method="post" id="commentform">

    not:

    <form action="/wp-comments-post.php" method="post" id="commentform">

Topic Closed

This topic has been closed to new replies.

About this Topic