Skip to content

moursalinislambd/.htaccess-for-wordpress-security

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

HTACCESS FOR WORDPRESS SECURTY

![DANGER] (https://raw.githubusercontent.com/moursalinislambd/.htaccess-for-wordpress-security/refs/heads/main/danger.gif)

Features of This HTACCESS CODE

  • Block WordPress files from outside access
  • No access to the install.php
  • No access to the wp-config.php
  • No access to the readme.html
  • No access to the liesmich.html for DE Edition
  • No error log access
  • No access to the .htaccess und .htpasswd
  • Block access to includes folder
  • Block WordPress Author Scans
  • Protect your WordPress Login with HTTP Authentification
  • HTTP SECURITY HEADER
    • Prevent Clickjacking
    • Prevent MIME-type sniffing
    • Content Security Policy (Modify as needed)
    • Referrer Policy
    • HTTP Strict Transport Security (HSTS) - Requires HTTPS
    • Permissions Policy (Modify as needed)
  • Block direct access to the uploads folder
  • 8G FIREWALL v1.4 20250120 https://perishablepress.com/8g-firewall
Copyright © 2025 Moursalin islam | Developed by Onexus Dev