static-html-output icon indicating copy to clipboard operation
static-html-output copied to clipboard

Trim path C:\xampp\htdocs\wp-content\uploads\static-html-output\ for ZIP Deployment via XAMPP

Open thegulshankumar opened this issue 4 years ago • 2 comments

Technical Details Path
ABSPATH C:\xampp\htdocs/
WP_HOME Undefined
WP_SITEURL Undefined
WP_CONTENT_DIR C:\xampp\htdocs/wp-content
WP_PLUGIN_DIR C:\xampp\htdocs/wp-content/plugins

Visual Representation

Steps

  1. Choosing ZIP Deployment, Setup Deployment URL and then start crawling, exporting.

Main steps

  1. Download & Extract static-html-output.zip

image

  1. Archive all files inside C:\Users\Gulshan Kumar\Downloads\C_\xampp\htdocs\wp-content\uploads\static-html-output

From image

To

image

Note: Here C_\xampp\htdocs\wp-content\uploads\static-html-output deep directories is uneccessary. So I had to build new zip here.

Guess, C: was replaced with C_ via 7zip app after extraction as Win dont allow : symbol for any file/folder. image

  1. Finally, Upload static-html-output.zip to Deployment server manually.

I was able to successfully deploy. Ref: https://omgstatic.netlify.app 😊

Feedback

  • It would be perfect after cutting this path C:\xampp\htdocs\wp-content\uploads\static-html-output\

Other

  • All looks good to me, except missing /uncategorized/ category URL.

Thanks

thegulshankumar avatar Jun 26 '20 21:06 thegulshankumar

Guess, This issue is resolved with this build and should be marked as closed.

thegulshankumar avatar Aug 25 '20 21:08 thegulshankumar

Thanks @thegulshankumar - I'll close it off when I merge that code in / publish new release. Most people still don't have that build, so I'll keep it open - also as reminder for me :)

leonstafford avatar Aug 25 '20 22:08 leonstafford