Title: Security: htaccess files
Last modified: August 18, 2016

---

# Security: htaccess files

 *  [matthias_k](https://wordpress.org/support/users/matthias_k/)
 * (@matthias_k)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/security-htaccess-files/)
 * Hi,
 * I messed around with the rewrite rules, but my server doesn’t seem to support
   mod_rewrite which resulted in me not able to display ANY WP site afterwards–including
   the settings site to undo my changes!
 * Well, since I remembered that these rules are defined in .htaccess files, I fired
   up gFTP and deleted the .htaccess file in the top level directory.
 * However, since these files are also often used to secure directories, is it possible
   that my Blog is now unsecure? I noticed that anyone can go ahead and download
   my wp-config.php, where my database URL and password are stored, but it always
   was zero bytes after downloading; but still, I want to make sure I didn’t open
   my blog for some kiddy hacker to mess with it.
 * Thanks in advance,
    Matthias

Viewing 1 replies (of 1 total)

 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/security-htaccess-files/#post-298101)
 * “I noticed that anyone can go ahead and download my wp-config.php”
 * If you give them ftp access, yes.
    If you think we can see it, no.
 * [http://www.tamba2.org.uk/T2/wp-config.php](http://www.tamba2.org.uk/T2/wp-config.php)
   
   have a read of mine 🙂

Viewing 1 replies (of 1 total)

The topic ‘Security: htaccess files’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Mark (podz)](https://wordpress.org/support/users/podz/)
 * Last activity: [20 years, 5 months ago](https://wordpress.org/support/topic/security-htaccess-files/#post-298101)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
