0

My web host has suspended my website because the comment sections of pages were being spammed so I can no longer access the site via wordpress. What files do I need to edit to switch off comments on all pages and how can I test the changes please ?

2
  • Can you access WordPress admin panel? Commented Oct 28, 2019 at 13:35
  • No the site is no longer accessible via wordpress so I need to ftp the appropriate files and upload them again.
    – tbc006
    Commented Oct 29, 2019 at 9:24

2 Answers 2

0

Go to Settings - Discussion from the left sidebar of your WordPress admin panel.

On this page, uncheck the option that says “Allow people to post comments on new articles” and then click on the Save Changes.

1
  • It will only disable comments on new articles / post & not the older ones... Commented Oct 28, 2019 at 13:55
0

To disallow comments retroactively. Got to all posts in the back end. Hit select all and bulk actions > edit. Then you can use the drop down to bulk disable comments.

1
  • I no longer have access to this site via wordpress so I need to know which files to download and edit
    – tbc006
    Commented Oct 30, 2019 at 17:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.