Forums

WP 2.8 can't write to .htaccess (which IS writable) (4 posts)

  1. Steerpike
    Member
    Posted 2 years ago #

    I just upgraded from 2.7.1 to 2.8. Now enabling permalinks throws up the message about .htaccess being unwritable. I've set the permissions to 644, 666, 777, and always the same message. (I've manually updated my .htaccess file, but I'd still like to know what the problem is.) Any ideas what could be causing this?

    My setup is as follows:

    WP set up according to "Giving Word Press Its Own Directory"

    GoDaddy Deluxe Linux hosting. The blog's domain points to a subdirectory on my main hosting account.

    If I switch WordPress back to domain.com/wordpress (rather than just domain.com), then it has no problem writing to .htaccess in the /wordpress directory, but when set to run from domain.com it cannot write to the .htaccess in the domain root, even though the permissions are exactly the same.

  2. justinratwebtek
    Member
    Posted 2 years ago #

    I have a feeling it's due to file ownership, but could you run the following on your server for both files: (note: I'm assuming you have SSH access)

    ls -al .htaccess

    Compare them and see if the owner is different.

  3. Steerpike
    Member
    Posted 2 years ago #

    Thanks for the pointer, unfortunately, owners are the same.

  4. teeaybee
    Member
    Posted 2 years ago #

    And if you've tried setting the permissions to 777 the owner shouldn't matter.

Topic Closed

This topic has been closed to new replies.

About this Topic