Forums

WP Super Cache
Plugin is painful to use if you don't use .htaccess (6 posts)

  1. rhertzog
    Member
    Posted 1 year ago #

    I have my Apache configuration for WordPress in an centralized apache configuration file (in /etc/) and not in a .htaccess file.

    Trying to configure wp-super-cache in this situation is painful. It will never tell you the Apache rules that you need to add. It would be nice if we could get the rules even if the code doesn't detect anything in .htaccess.

    Alternatively there could be an option where you can point to another file than .htaccess...

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

  2. anu
    Member
    Posted 1 year ago #

    It absolutely does show you the rewrite rules to use. There's even a button that says "view rewrite rules" on the Advanced tab of the plugin configuration pages.

  3. rhertzog
    Member
    Posted 1 year ago #

    No, it doesn't if your .htaccess is empty. I get this:

    `Mod Rewrite Rules
    Mod Rewrite rules cannot be updated!

    You must have BEGIN and END markers in /usr/share/wordpress/.htaccess for the auto update to work. They look like this and surround the main WordPress mod_rewrite rules:

    # BEGIN WordPress
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress

    Refresh this page when you have updated your .htaccess file.`

    And there's no button "View rewrite rules".

  4. Donncha O Caoimh
    Member
    Posted 1 year ago #

    rhertzog - your situation is probably a rare one but I'll see about showing the rewrite rules regardless of whether the WordPress rules are found or not.

  5. Donncha O Caoimh
    Member
    Posted 1 year ago #

    rhertzog - Check out the dev version on the "Other versions" page in about 20 minutes. Or svn co http://svn.wp-plugins.org/wp-super-cache/trunk

    The plugin will show a warning but it should show the rewrite rules.

  6. rhertzog
    Member
    Posted 1 year ago #

    Thanks donncha. It works.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic