elementor / elementor/wp2static
Ignore certain files and directories in destination directory
Open
new_feature
- Dominant language
- PHP
- Stars
- 1.5k
- Forks
- 294
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.