Strange WP-Supercache WordPress Folders

By Posted 2009 Updated   BloggingWordPress

I use WP-Supercache, an amazing WordPress plugin which caches html pages of our php pages and reduces the server load drastically. But due to recent internal server errors, I looked inside my WordPress supercache folders and found some strange folders.

supercache folders

As you see there were 3 folders, though quickonlinetips.com folder was expected, quickonlinetips.com. (with a period at the end) and quickonlinetips.com.disabled (with a .disabled at the end) were not expected. As I browsed deeper into these folders, they had the complete directory structure of our site and has hundreds of cached html pages, which were now not being served anymore.

As I started to manually delete these 2 folders and all its subfolders, even after hours, my trusted FTP client Filezilla kept on working and we were getting nowhere. Eventually I realized supercache had created hundreds of similar empty subfolders to an infinite depth which continued as far as I could browse. And whenever I tried to delete them, the server would finally timeout and disconnect.

After several sessions I was still unable to delete all folders. Then I logged into Shell using my trusted Putty, a free telnet and SSH Client for Windows and Unix platforms. Using Putty I was able to quickly navigate to the supercache folder and delete these directories and those unending subfolders using powerful Linux commands – in a few minutes! Amazing!

supercache-folders

See the full image to get an idea of how deep these folders extended.

Note that Supercache might not have been the cause of Internal server errors, but these strange folders were definitely created by error. But inspite of these bugs, Supercache is a highly recommended wordpress plugin that every wordpress blogger should have. Have you taken a peek into your Supercache folder lately? - you might find some interesting folders out there.

You might also want to check our previous experiences with WP Super-Cache not deleting expired pages and how we fixed SuperCache errors of no cached pages.


5 comments on “Strange WP-Supercache WordPress Folders

  1. Tinh says:

    Good experience, thanks for sharing as I am using that plugin too

  2. Donncha O Caoimh says:

    Hmm, I left a comment on this post on another site. I presume one that scrapes yours?

    The empty directory problem was solved a few months back, and you should have been able to delete those directories using the Clear Cache button the plugin admin page.

    Those directories look like some sort of redirect loop? I don’t think it’s supercache doing that (as you surmise yourself) but it kindly created the directories to go along with those requests!

    • QuickOnlineTips says:

      @Donncha – Clear Cache button deleted all folders in the quickonlinetips.com folder but not the other 2 folders I mentioned. The hundreds of loop folders were created under the supercache folder only.

  3. Linn says:

    very comprehensive indeed.

    Please be advised that, most of the shared web hosting do not allow cache wp plugins, so always talk to the hosting before you run any sort of cache scripts, otherwise, you will probably be suspended without prior notice.

    I would definitely recommend cache wp plugins to use if you have VPS or dedicated server, it takes CPU consumption, however it will give you super fast access as well.

    great post as always.

  4. _ck_ says:

    “rm -rf” can be your friend
    (in case others need to know what the Linux command was)

    WP-supercache is too easy of an answer unfortunately in that it hides a great deal of bad plugin design and an ever growing WordPress bloat.

Leave a Reply

Your email address will not be published. Required fields are marked *




Next Article »
css.php