• 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)
  • Thread Starter keithmcmean

    (@keithmcmean)

    Sorry I should have added the URL@ https://testsite.theparamountexpress.com/

    ??

    C W (VYSO)

    (@cyril-washbrook)

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

    C W (VYSO)

    (@cyril-washbrook)

    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:/118.209.141.72/ at the end. This could suggest an errant line in your .htaccess file.

    Thread Starter keithmcmean

    (@keithmcmean)

    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.

    Thread Starter keithmcmean

    (@keithmcmean)

    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”

    </IfModule>

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

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