static-html-output
static-html-output copied to clipboard
Archive Zip includes whole directory tree from server
When downloading an Archive zip after running a static site export (to zip archive), when uncompressing the entire OS (WAMP server) directory tree structure (each folder) was included before getting to the actual folder of the static site export. This seems to me like unintended behavior. Behavior is persistent across any combination of plugin settings.
This does sound odd. I'll get you onto V7 asap. Will send out an email in next few days for license holders to start testing pre-release
Yes sir, here's how the Zip file will unpack before getting to the actual website files to review/publish..
wp-static-html-output-1557021727.zip\C:\\wamp64\\www\wp-content\uploads\sites\12\wp-static-html-output-1557021727\
If I had Wamp installed in say standard Google Drive which iirc is in users folder (not my install, learned the hard way) and had a bunch of nested directories in my website and long permalinks... I mean I've hit the NTFS maximum path length before.. so it's something to consider. Which is why my wamp is in drive root and linked to Gdrive for failure backup. peace of mind. I digress, but... it'd be great if it didn't have all those folders in the zip before getting to the site files.
Please try this build and see if it helps, it was developed by Leon for extending support for Windows OS. https://github.com/WP2Static/static-html-output-plugin/files/4943854/gulshanwinziptest.zip