WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] An old favourite: .htaccess "not writable" though it is, permalinks not working

[Resolved] An old favourite: .htaccess "not writable" though it is, permalinks not working

  • I’d like to think I’m a fairly seasoned WordPress user, so I can’t believe that this is happening, but anyway. Got a standard WordPress install, 3.3.2. All WordPress files are owned and writable by Apache, including the root directory they are contained in an .htaccess (which is also chmod 777 just for the heck of it). PHP safe_mode is off (not that it should matter for this). .htaccess contains:

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

    Despite all of these things, on the Permalink settings page, WordPress insists: “If your .htaccess file were writable, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your .htaccess file. Click in the field and press CTRL + a to select all.” I’ve switched back and forth between “Default” permalink setting and other options numerous times to no avail.

    As well, despite the above contents of .htaccess, all the permalink patterns start with /?page_id=4, and none of the pages are offering the desired slug-based permalinks.

    I’ve already wasted an hour trying to understand what’s going on here. You’d think by 3.3.2, trifling issues like this one would all be in the past!

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] An old favourite: .htaccess "not writable" though it is, permalinks not working’ is closed to new replies.
Skip to toolbar