How to Remove Advanced Cache From Wordpress
A known bug with recent versions of the WordPress blogging script, hosted on your own server, the advanced-cache.php file can occasionally get hung up on the server and cause various errors throughout your blog site, and may need to be manually deleted. Ensure that the directory where the file is located has the correct CHMOD permissions set so it is writeable before resorting to these steps. Learn how to remove the "stuck" file, which will then be regenerated by the script when needed.
Things You'll Need
- Text editor
- FTP software
- FTP access and login to the server your WordPress site is hosted on
Instructions
-
Create a Temporary Script
-
1
Create a new plain text file, and copy/paste the following code into it:
<?php
unlink( "./advanced-cache.php" );
echo "Process completed.";
?>
-
2
Save this file onto your desktop, or a folder where you can easily find it again. Name it "temp.php."
-
-
3
Open your FTP program and log in to your website that contains the WordPress script. In the directory that contains the original advanced-cache.php file, upload your newly created temp.php file. If the file shows as temp.php.txt on the server, rename it to temp.php (trimming off the .txt portion).
-
4
Open your preferred website browser. Enter the complete URL path to where temp.php resides on your website and load the page. If you see the words "Process completed," then close the browser.
-
5
Return to your FTP program and refresh the connection. You should see that the advanced-cache.php file is now gone. Now delete your temp.php file.
-
1
Tips & Warnings
Ensure that your temp.php file is uploaded to the same directory as advanced-cache.php or this will not work.
References
- Photo Credit Hemera Technologies/AbleStock.com/Getty Images