• Resolved JG99

    (@jg99)


    Hello, when I try to change my post URLs to /%postname%/, I get an error message that says my htaccess file is not writable. However, when I go into cPanel, it says the permissions are set at 644, which should be OK. Furthermore, the change to /%postname%/ has actually gone through, so that my post URLs are now “mysite.com/postname/.”

    But the error message instructed me to change the htaccess as follows:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    ———————-

    My current htaccess looks like this when I put it into a text file:

    # -FrontPage-
    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthName mysite.com
    AuthUserFile /home/myusername/public_html/_vti_pvt/service.pwd
    AuthGroupFile /home/myusername/public_html/_vti_pvt/service.grp

    ——————–

    So the question is, where do I put these commands, if they really are necessary? Or is this error message simply a bug in WordPress?

Viewing 2 replies - 1 through 2 (of 2 total)
  • You can add them right there at the top, before anything else. If you still have problems you could temporarily change the permissions to the max allowed by your host as long as you change them back when you’re finished.

    Thread Starter JG99

    (@jg99)

    I ended up changing the permissions to the max allowed and then it worked!

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘htaccess permissions – do I need to change them?’ is closed to new replies.