Support » Fixing WordPress » Comments Problem

  • Hi, I have a problem whereby every time a comment is added the page refreshes to the homepage and the comment isn’t added to the system.
    I have tried lots of different things like changing to the default theme, restoring permalinks to default but nothing seems to work…any ideas what could be causing this?

    Thanks 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • Sorry I should have added the URL@


    C W (VYSO)


    Have you tried disabling all plugins to check whether one (or more) of them is interfering?

    C W (VYSO)


    Okay, thanks for posting the link. Have you done anything to your .htaccess file recently?

    Look at the URL after submitting the comment form… it doesn’t just “refresh to the homepage”, it goes to the homepage with ^http:/ at the end. This could suggest an errant line in your .htaccess file.

    Hi Cyril, sorry you are right I should have said. Yes I have, there are only three plugins in the site so that was quite easy.

    This is the htaccess file I use on all my sites so not sure why its shouldn’t work this time…unless you can spot anything Cyril?

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    RewriteRule wp-includes/js/tinymce/plugins/mcespell/spell-check-service wp-content/plugins/ajax_spellchecker/service/spell-check-service.php [QSA,L]
    RewriteRule wp-includes/js/tinymce/plugins/mcespell/(.*) wp-content/plugins/ajax_spellchecker/tinymce/mcespell/$1 [L]
    php_value upload_max_filesize “150M”
    php_value post_max_size “150M”
    php_value memory_limit “150M”


    # Protect from spam bots
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_METHOD} POST
    RewriteCond %{REQUEST_URI} .wp-comments-post\.php*
    RewriteCond %{HTTP_REFERER} !* [OR]
    RewriteCond %{HTTP_USER_AGENT} ^$
    RewriteRule (.*) ^http://%{REMOTE_ADDR}/$ [R=301,L]

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Comments Problem’ is closed to new replies.