wp2static icon indicating copy to clipboard operation
wp2static copied to clipboard

Ignore certain files and directories in destination directory

Open vladstanca opened this issue 6 years ago • 0 comments

What would be the best way to prevent overriding certain files or directories in the destination directory. Let's say you have a path that is not part of wordpress, maybe a landing page, or widget or something, e.g. mysite.com/special-path/. It would not be a path that would be crawled as part of deployment, but it needs to remain in the destination directory.

If there's no way at the moment, it would be cool if there were a setting for an ignore list or even if the wp2static_safety could contain a gitignore style list which would prevent the plugin from deleting files and directories that match those rules.

vladstanca avatar Mar 27 '19 22:03 vladstanca