Title: Typing &#8220;.htaccess&#8221; in post causing errors
Last modified: August 18, 2016

---

# Typing “.htaccess” in post causing errors

 *  Resolved [aaronr79](https://wordpress.org/support/users/aaronr79/)
 * (@aaronr79)
 * [19 years ago](https://wordpress.org/support/topic/typing-htaccess-in-post-causing-errors/)
 * A really odd error here. Last night I wrote a post about .htaccess, but was getting
   errors when I tried to save the post.
 * Through trial and error I worked out that the problem was caused by the term “.
   htaccess” in the post. In order to save and publish the post I had to remove 
   the preceding dot from the term, so I just wrote “htaccess”.
 * The error I was experiencing was that each time I clicked Save I would be thrown
   to my 404 page and the post was not saved!
 * Has this been experinced before, is there a workaround?
 * Thanks in advance for your help.

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

 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [19 years ago](https://wordpress.org/support/topic/typing-htaccess-in-post-causing-errors/#post-564928)
 * thats mod_security.
 * yes there are work arounds, either by disabling it in your admin area only, or
   site-wide.
 * [http://wordpress.org/search/disable+mod_security?forums=1](http://wordpress.org/search/disable+mod_security?forums=1)
 *  Thread Starter [aaronr79](https://wordpress.org/support/users/aaronr79/)
 * (@aaronr79)
 * [19 years ago](https://wordpress.org/support/topic/typing-htaccess-in-post-causing-errors/#post-564947)
 * Many thanks whooami 🙂
 * I disabled mod_security in wp_admin using .htaccess and all works well.
 * Much appreciated.

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

The topic ‘Typing “.htaccess” in post causing errors’ is closed to new replies.

## Tags

 * [entry](https://wordpress.org/support/topic-tag/entry/)
 * [htaccess](https://wordpress.org/support/topic-tag/htaccess/)
 * [post](https://wordpress.org/support/topic-tag/post/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [aaronr79](https://wordpress.org/support/users/aaronr79/)
 * Last activity: [19 years ago](https://wordpress.org/support/topic/typing-htaccess-in-post-causing-errors/#post-564947)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
