Skip to main content

How to hide PHP errors on a WordPress installation

· One min read
  1. Using an FTP client – such as Filezilla log in to your website.
  2. Navigate to your WordPress directory
  3. Right click wp-config.php
  4. Select Edit
  5. Add:  _@ini_set(‘display_errors’, 0); _to the wp-config document – up the top is fine.
  6. Now save the document, your FTP client should now upload the changes and any PHP errors you may be displaying will be hidden.