Forums

wp-super-cache doesn't use WP_CONTENT_URL for rewrite rules (3 posts)

  1. Will Norris
    Member
    Posted 3 years ago #

    wp-super-cache does the right thing by using the WP_CONTENT_URL and WP_CONTENT_DIR constants (see top of wp-cache.php), but fails to actually make use of the constants when printing the mod_rewrite rules (see wsc_mode_rewrite()).

  2. Donncha O Caoimh
    Member
    Posted 3 years ago #

    Hmm, that might make things less complex. Unfortunately if the wp-content dir is changed after the rewrite rules are installed they won't update automatically. The rules will have to be deleted and recreated after by the admin page.

  3. Donncha O Caoimh
    Member
    Posted 3 years ago #

    Just checked in a change that adds WP_CONTENT_URL to the rewrite_rule generator!

Topic Closed

This topic has been closed to new replies.

About this Topic