• Resolved riledhel

    (@riledhel)


    After installing the plugin and changing my .htaccess file, I got the category and each individual post broken. The homepage was working fine, but everything else was broken. I was using a custom permalink structure like this: /%postname%-%post_id%/
    My original .htaccess file was something 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

    But after adding the lines the plugin told me before the WordPress lines, couldn’t access the pages nor posts. Ideas?

    PD: got the .htaccess to the way it was before to keep the site alive, but I’d really like to see the plugin working on it. Thanks in advance.

    PD2: got the plugin working on other sites and it’s great 🙂

    http://wordpress.org/extend/plugins/wp-super-cache/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I don’t know but if the mod_rewrite rules don’t work, just use the plugin in half-on mode. It’s as fast as full on mode except when your site is being hit by a deluge of traffic. How often will that happen?

    Thread Starter riledhel

    (@riledhel)

    Hopefully someday… thanks for your help. If I come to understand why this problem arises, I’ll let you know.

    Thread Starter riledhel

    (@riledhel)

    Changed this line:

    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz -f

    to:

    RewriteCond %{REQUEST_URI} ^(.+)$
    %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}%1/index.html -f

    fixed the problem, as described here.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP Super Cache] Broke the permalinks structure’ is closed to new replies.