André Amorim

Crafting Web Experiences

//

WordPress Security & Hardening

Go back to /notes?

  • Prevent Automatic Update Check

    Reference: https://wordpress.stackexchange.com/questions/102554/prevent-disable-automatic-update-check

  • Hardening WordPress files

    If you have shell access to your server, you can change file permissions recursively with the following commands. For directories: For files: To do them both in current folder recursively: User correction: Full combined permission correction for current WordPress root folder:

  • NGINX: Block URL Access (wp-admin/wp-login.php) To All Except One IP Address

    Append the following all and deny all NGINX config directives in server context: If your blog located in /blog/ sub-directory, try: Reference: https://www.cyberciti.biz/faq/nginx-block-url-access-all-except-one-ip-address/