WordPress Plugin: WP Super Cache

When installing and activating, you will see the following errors:

Assuming your jail name is wordpress, enter the jail from a terminal iocage console wordpress. To resolve the first issue, enter the following commands in the terminal:

cd /usr/local/www/wordpress/wp-content
cp plugins/wp-super-cache/wp-cache-config-sample.php wp-cache-config.php
chown www:www wp-cache-config.php

Refreshing WP Super Cache on the dashboard:

Edit wp-config.php ee /usr/local/www/wordpress/wp-config.php and add the following code above the line /* That's all, stop editing! Happy publishing. */.

/* WP Super Cache */
define('WP_CACHE', true);
define ('WPCACHEHOME', '/usr/local/www/wordpress/wp-content/plugins/wp-super-cache/');

Save the file and then refresh WP Super Cache on the dashboard and you’re ready to turn caching on, update the status and test the cache:

References

  1. WPCACHEHOME must be set in config file.
  2. WP Super Cache

Keep Reading

PreviousNext

Comments

Leave a Reply