Black Pig
  • Home
  • Code
  • How To’s
  • Downloads
Select Page

Security Headers for WordPress .htaccess File

Dec 30, 2020 | Security, WordPress

How to manually add the recommended security headers to your website.

Disable Directory Listing with the .htaccess File

Jul 10, 2020 | Security

If you create a new directory and don’t put an index file in it, anyone can see all contents of that directory by going straight to the URL. Add this to the .htaccess file

Disallow File Editing in WordPress

Jul 10, 2020 | Security, WordPress

Add this to the wp-config.php file at the very end. This will disallow file editing so no one will be able to modify any of the files through the WordPress backend.

Remove the WordPress Version Number

Jul 10, 2020 | Security, WordPress

Removes the version number from WordPress for security reasons.

Categories

  • Advanced Custom Fields
  • Bootstrap
  • CSS
  • Divi
  • Email
  • Flexbox
  • HTML
  • jQuery
  • PHP
  • Security
  • Uncategorized
  • Video
  • WordPress
© 2020 Black Pig Snippets [year]