Title: Writeable .htaccess
Last modified: August 18, 2016

---

# Writeable .htaccess

 *  Resolved [k3200](https://wordpress.org/support/users/k3200/)
 * (@k3200)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/writeable-htaccess/)
 * Hello all,
 * I am trying to make my .htaccess file writeable so WordPress can write information
   for me. I changed the permission on the server from just user to user and group
   owned. However my .htaccess file still isn’t writeable from WP. What else do 
   I need to do to make this happen?
 * Thanks

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

 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/writeable-htaccess/#post-239885)
 * 666 is what it needs.
    -rw-rw-rw- I think …
 *  Thread Starter [k3200](https://wordpress.org/support/users/k3200/)
 * (@k3200)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/writeable-htaccess/#post-239888)
 * Thanks podz. Where exactly do I place that 666 command and what is the proper
   code? Also, will 666 give any user of my blog writeable access to my .htaccess?
 * Thanks
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/writeable-htaccess/#post-239889)
 * I use my ftp client (Filezilla) to do any permission changes.
 * As for remaining writeable – once the permalinks are written, WP only then access
   the file if you alter the structure or add pages. If you do neither you can chmod
   the permissions back down to 644 or 664.
 *  Thread Starter [k3200](https://wordpress.org/support/users/k3200/)
 * (@k3200)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/writeable-htaccess/#post-239900)
 * So what is the code that I should use?
 * And are you sying to use this 666 code until I am finished adding plug ins and
   such and then change the 666 to 664 or 660?
 * I’m really confused here…
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/writeable-htaccess/#post-239901)
 * You can change it back to 644 when you’re done editing or adding to it via WordPress,
   but some prefer to leave it at 666.
 * You may also want to read this: [http://codex.wordpress.org/Changing_File_Permissions](http://codex.wordpress.org/Changing_File_Permissions)
 *  [thepete](https://wordpress.org/support/users/thepete/)
 * (@thepete)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/writeable-htaccess/#post-240379)
 * My problem is that permissions are properly set for 666, yet WP claims it’s still
   not writeable. What’s worse is when I update htaccess myself, it screws up everything.
   Anyone accessing my site now gets a server error until I delete my htaccess file.
   Even a blank htaccess gives me errors.
 * I’ve fixed it for now, however. Though, I’d really like to know why with the 
   instalation of 1.5.1.1 WP suddenly can’t write to my htaccess file. Maybe it’s
   that the WP directory isn’t the root directory?
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/writeable-htaccess/#post-240385)
 * Is your .htaccess file in _the same_ directory as WP? Because if not – it doesn’t
   work!

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

The topic ‘Writeable .htaccess’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 5 participants
 * Last reply from: [moshu](https://wordpress.org/support/users/moshu/)
 * Last activity: [20 years, 10 months ago](https://wordpress.org/support/topic/writeable-htaccess/#post-240385)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
