Try our conversational search powered by Generative AI!

Delete unused files in PageFiles



Does anybody know if there is a way, in EPiSever, to delete unused files located in PageFiles.

I have a problem with EPiServer not removing associated files when deleting pages and need to find a way to remove these files manually.


Jun 04, 2008 12:32
Admin / System administration / Delete unused files
Jun 04, 2008 12:51

Hello Erik,

That was exactly what I was looking for!!

Many thanks!


Jun 04, 2008 20:05

Is there any more thorough tool than this than anyone knows of?  

I want to inspect each of the files in page files and see if they're actually used in a page ... if not, remove them from the filesystem.  

Over time editors introduce new images/pdfs/resources and unlink previous ones.  If they don't delete the previous ones they remain on the filesystem. These are what I want to target - even though the page itself has not been deleted.  

Any pointers welcomed 

May 16, 2014 1:44
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.