Title: To protect load-scripts.php from Dos attack
Last modified: May 2, 2024

---

# To protect load-scripts.php from Dos attack

 *  [phpteam](https://wordpress.org/support/users/phpteam/)
 * (@phpteam)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/to-protect-load-scripts-php-from-dos-attack/)
 * To protect load-scripts.php from Dos attack we tried the steps as in this [link](https://wordpress.org/support/topic/dos-attack-wordpress-cve-2018-6389/).
 * Is define( ‘CONCATENATE_SCRIPTS’, false ) cause the website to load slowly
 * The second fix (to add to .htaccess file) breaks the website and CSS are not 
   loading correctly.
 * Please suggest how to protect load-scripts.php
 * Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/to-protect-load-scripts-php-from-dos-attack/#post-17729212)
 * Try this one:
 *     ```
       <Files load-scripts.php>
           Order Deny,Allow
           Deny from all
       </Files>
       ```
   
 *  Thread Starter [phpteam](https://wordpress.org/support/users/phpteam/)
 * (@phpteam)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/to-protect-load-scripts-php-from-dos-attack/#post-17730193)
 * If we do the above the CSS are not loading. The website is breaking.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘To protect load-scripts.php from Dos attack’ is closed to new replies.

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 2 replies
 * 2 participants
 * Last reply from: [phpteam](https://wordpress.org/support/users/phpteam/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/to-protect-load-scripts-php-from-dos-attack/#post-17730193)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
