{"id":6898,"date":"2009-04-02T23:41:01","date_gmt":"2009-04-02T18:11:01","guid":{"rendered":"https:\/\/www.quickonlinetips.com\/archives\/?p=6898"},"modified":"2020-05-24T10:15:37","modified_gmt":"2020-05-24T04:45:37","slug":"strange-wp-supercache-wordpress-folders","status":"publish","type":"post","link":"https:\/\/www.quickonlinetips.com\/archives\/2009\/04\/strange-wp-supercache-wordpress-folders\/","title":{"rendered":"Strange WP-Supercache WordPress Folders"},"content":{"rendered":"<p>I use <a href=\"https:\/\/wordpress.org\/plugins\/wp-super-cache\/\" rel=\"noopener\">WP-Supercache<\/a>, an amazing WordPress plugin which <strong>caches html pages<\/strong> of our php pages and reduces the server load drastically. But due to recent <strong>internal server errors<\/strong>, I looked inside my WordPress supercache folders and found some strange folders.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-6900\" title=\"supercache folders\" src=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/supercache-folders.gif\" alt=\"supercache folders\" width=\"399\" height=\"123\" \/><\/p>\n<p>As you see there were 3 folders, though quickonlinetips.com folder was expected, <strong>quickonlinetips.com.<\/strong> (with a period at the end) and <strong>quickonlinetips.com.disabled<\/strong> (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.<\/p>\n<p>As I started to <strong>manually delete <\/strong>these 2 folders and all its subfolders, even after hours, my trusted FTP client <a href=\"http:\/\/filezilla-project.org\/\" rel=\"noopener\">Filezilla<\/a> kept on working and we were getting nowhere. Eventually I realized supercache had created <strong>hundreds of similar empty subfolders<\/strong> 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.<\/p>\n<p>After several sessions I was still unable to delete all folders. Then I logged into Shell using my trusted <a href=\"http:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/\" rel=\"noopener\">Putty<\/a>, a free <strong>telnet and SSH Client<\/strong> 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 &#8211; <em>in a few minutes! Amazing!<br \/>\n<\/em><\/p>\n<p><a href=\"https:\/\/www.flickr.com\/photos\/pchere\/3407564664\/sizes\/o\/\" rel=\"noopener\"><em><img decoding=\"async\" class=\"alignnone size-full wp-image-6902\" title=\"supercache-folders \" src=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/supercache-folders2.gif\" alt=\"supercache-folders \" width=\"466\" height=\"178\" srcset=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/supercache-folders2.gif 466w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/supercache-folders2-300x114.gif 300w\" sizes=\"(max-width: 466px) 100vw, 466px\" \/><\/em><\/a><\/p>\n<p><a href=\"https:\/\/www.flickr.com\/photos\/pchere\/3407564664\/sizes\/o\/\" rel=\"noopener\">See the full image<\/a> to get an idea of how deep these folders extended.<em><br \/>\n<\/em><\/p>\n<p>Note that Supercache might not have been the cause of <strong>Internal server errors<\/strong>, but these strange folders were definitely created by error. But inspite of these bugs, Supercache is a <strong>highly recommended wordpress plugin <\/strong>that every wordpress blogger should have. Have you taken a peek into your Supercache folder lately? &#8211; you might find some interesting folders out there.<\/p>\n<p>You might also want to check our previous experiences with WP Super-Cache <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2008\/11\/wp-super-cache-not-deleting-expired-pages\/\">not deleting expired pages<\/a> and how we fixed SuperCache errors of <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2008\/05\/fix-wp-super-cache-errors\/\">no cached pages<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I use WP-Supercache, an amazing WordPress plugin which caches html pages of our php pages and reduces the server load&#8230;<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[6],"tags":[17],"class_list":["post-6898","post","type-post","status-publish","format-standard","hentry","category-blogging","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/6898","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/comments?post=6898"}],"version-history":[{"count":0,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/6898\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/media?parent=6898"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/categories?post=6898"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/tags?post=6898"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}