WordPress.org

Ready to get started?Download WordPress

Forums

Method not allowed when posting comments (2 posts)

  1. rileybetka
    Member
    Posted 1 year ago #

    I am currently using jetpack wordpress comments on my site - when you post a comment on a specific picture (carousel) it works fine but if you try to comment on a post it gives the error: Method Not Allowed

    The requested method POST is not allowed for the URL /dm/wp-comments-post.php.

    I have read some forums saying that you can't post a comment to an html file and it needs to be a php file - based on this error it looks like it is trying to post to a php file. In all honesty I wouldn't mind just removing the comment function on posts themselves - to me it's fine if people can just comment on specific pictures - is there a way to fix it so people can comment on posts or just a way to disable the comment feature on pages where it won't allow you to comment? Thank you in advance for the help!!! my page is http://www.daily-mash.com - thanks!

  2. rileybetka
    Member
    Posted 1 year ago #

    here is the php for my wp-comments-post.php
    http://pastebin.com/F2y72rLj

Topic Closed

This topic has been closed to new replies.

About this Topic