Deployment Local Directory – Clear Directory Not Working

[ad_1]

I am using Local Directory settings for deployment and I turned on the “Clear Directory” option in “Additional Settings”.
So, when I generate Static files, files are getting updated in the configured local directory but its not clearing out the local directory before storing/updating the files there.

For example, I deleted a post “Hello World” and added a new post “Another Hello World” in WP. This action should delete the “Hello World” static folder and add new “Another Hello World” static folder with the “Clear Directory” setting turned on. But, its creating the “Another Hello World” static folder but not deleting the “Hello World” static folder which we deleted in WP.

I checked the Diagnostics page. It has all writing permissions needed by plugin.

Let us know the fix for this.

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer