WordPress Super Cache 403 Forbidden

When trying to access cached pages in WordPress you receive a 403 Permission Denied or 403 Forbidden error.

To fix you must add the following line to your wp-config.php (Add it above the WP_CACHE define.) Then clear your cache.
umask( 0022 );

If your PHP runs as a different user to Apache and permissions are strict Apache may not be able to read the PHP generated cache files.

Leave a Reply