Simply-Static / simply-static

Convert your WordPress site into a static one with the free WordPress static site generator plugin, Simply Static.
https://simplystatic.com
GNU General Public License v2.0
188 stars 48 forks source link

Refactor "Additional Settings" #195

Closed patrickposner closed 7 months ago

patrickposner commented 8 months ago

We should implement some changes for the "Additional Settings" fields.

Force URL replacements

This setting should be enabled by default to improve the average results of a static export. We will still extend the match_tags list as needed, but it makes sense to improve the default results.

Clear Directory

This setting should be removed and replaced with a filter. We need a fallback for the folks that have it enabled, but we will no longer offer the option.

The problem is that it does not make sense to offer it as people assume it works with all deployment options, but it does not - it only works with "Local Directory", and we have specific settings for most deployment options to handle that.

We might consider moving that setting as part of the settings for Deployment -> Local Directory

Debugging Mode

We either get rid of this setting or enable it by default.

We now clear the log on each static export, avoiding having a vast debug file. We also store it now in wp-content/uploads/simply-static, avoiding problems with the plugin directory being not accessible/writeable.

There aren't many scenarios where disabling the log would benefit, and there are a lot of upsides to having it enabled by default (speeding up and improving our support, for example).

We should also implement a mechanism to send this file or copy it easily within support.

patrickposner commented 8 months ago

Keep in mind the suggestions here: https://github.com/Simply-Static/simply-static/issues/184