Title: Problem after restoring WordPress
Last modified: April 26, 2023

---

# Problem after restoring WordPress

 *  Resolved [skatsavos](https://wordpress.org/support/users/skatsavos/)
 * (@skatsavos)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/problem-after-restoring-wordpress/)
 * Hi, I recently restored my wordpress site from scratch and i noticed that W3 
   Total Cache dosen’t work.
 * I tried to remove the files under wp-content and also removing the plugin.
 * The issue that i have is under General settings i am receing the following error
   message:
 * There has been a critical error on this website. Please check your site admin
   email inbox for instructions.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/problem-after-restoring-wordpress/#post-16692544)
 * Hello [@skatsavos](https://wordpress.org/support/users/skatsavos/)
 * I am sorry about the issue you are experiencing and I am happy to assist you 
   with this.
 * Can you please completely remove and re-install W3 Total Cache:
    1. Check .htaccess File (make backup)
       W3TC will create many directives in .htaccess
       file to control the caching behavior. Each section will start and end with comments
       like “#BEGIN W3TC Page Cache core” and “#END W3TC Page Cache core”.Ensure that
       no residual entries are left over in your .htaccess file after deleting the 
       plugin.
 *  2. Delete wp-content files and folders
 *  - cache folder
    - w3tc-config folder
    - object-cache.php (if exists)
    - advanced-cache.php (if exists)
    - db.php (if exists)
    - upgrade folder
    - delete w3-total-cache folder in wp-content/plugins/ (if exists)
 *  3. Delete Cached Files from CDN (if using CDN)
       Besides deleting all the relevant
       files, if you use CDN then ensure to purge the cached content from your CDN.
       This is necessary when you enabled minify option in W3TC settings. You should
       delete the minified and combined scripts and CSS files from your CDN server 
       to avoid the site breaking on the browser.
    4. Go to your wp dashboard and re-install W3 Total Cache
 * Let me know if this helps!
 * Thanks!
 *  Thread Starter [skatsavos](https://wordpress.org/support/users/skatsavos/)
 * (@skatsavos)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/problem-after-restoring-wordpress/#post-16692580)
 * Hi, i followed the instructions and it worked!
 * i think the.htaccess(that did not remove) was the problem.
 * I think you should add a check or option to remove the configuration from .htaccess(
   on demand) or reset all settings.
 * Thank you

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Problem after restoring WordPress’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [skatsavos](https://wordpress.org/support/users/skatsavos/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/problem-after-restoring-wordpress/#post-16692580)
 * Status: resolved