WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Writeable .htaccess (8 posts)

  1. K3200
    Member
    Posted 9 years ago #

    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

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    666 is what it needs.
    -rw-rw-rw- I think ...

  3. K3200
    Member
    Posted 9 years ago #

    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

  4. Mark (podz)
    Support Maven
    Posted 9 years ago #

    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.

  5. K3200
    Member
    Posted 9 years ago #

    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...

  6. 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

  7. thepete
    Member
    Posted 9 years ago #

    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?

  8. moshu
    Member
    Posted 9 years ago #

    Is your .htaccess file in the same directory as WP? Because if not - it doesn't work!

Topic Closed

This topic has been closed to new replies.

About this Topic