Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jacobw

    (@jacobw)

    Okay, please ignore. After much, much messing around, you know turned out to be the problem? For some reason I was missing the auto_increment property on the option_id field in wp_options. I guess the rewrite rules are stored in there, and it couldn’t write them because auto_increment wasn’t enabled.

    Thread Starter jacobw

    (@jacobw)

    Okay, after having played with this for a few more minutes I’ve realized that it’s because of a .htaccess problem.

    For some reason, it doesn’t matter what option I pick i Options > Permalink, the only thing clicking on ‘Update Permalink Structure’ does is add a blank line to the bottom of my .htaccess file.

    So, if I start out with a .htaccess file looking like this:

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

    # END WordPress

    …which is how it currently looks, and I change the permalink option to eg the ‘Date and name-based’ opiton, then click on ‘Update Permalink Structure’, the .htaccess looks exactly the same, but with a blank line added to the end.

    I’ve tried all the suggestions in ‘Fixing Permalink Problems’ on Using Permalinks but nothing has helped.

    Has permalink generation itself been broken in WP 2.0.1? I would have thought I’d have heard more about it in here if it had…

    Anyone have any suggestions?

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