Security and WP

To prevent unauthorized scanning of backup files, scripts, etc.  Add this to your WordPress htaccess file:

RewriteEngine On RewriteRule \.php~$ – [forbidden,last]

The second line above should go right under the first line as shown.

This will prevent index.php~ from displaying in URLs increasing security on your WordPress site.

As always, make a local backup of your files before editing so that you can make easy corrections of things don’t work out as planned.

  • 1 کاربر این را مفید یافتند
آیا این پاسخ به شما کمک کرد؟

مقالات مربوطه

htaccess and WordPress

We recommend the following to be included on your .htaccess file.order allow,denydeny from all#...

Protect WordPress Admin

Defeat attacks from eating up your server’s CPU and prevent attackers from getting access...

WordPress Cron-Scheduled Posts

To schedule your posts, add this simple crontab entry to your servers crontab entry:*/1 * * *...

WordPress Multisite Help

We highly recommend performing a back up of your site and ALL files PRIOR to creating your...

WordPress secure mode

Enjoying the peace of mind running WordPress in secure mode on the new M3XS 5 series...