An open API service indexing awesome lists of open source software.

https://github.com/moursalinislambd/.htaccess-for-wordpress-security

Most of the powerfull htaccess codes for wordpress security
https://github.com/moursalinislambd/.htaccess-for-wordpress-security

Last synced: about 1 month ago
JSON representation

Most of the powerfull htaccess codes for wordpress security

Awesome Lists containing this project

README

        

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