elementor / static-html-output

Static HTML Output Plugin for WordPress
https://statichtmloutput.com
The Unlicense
124 stars 33 forks source link

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

Open thegulshankumar opened 4 years ago

thegulshankumar commented 4 years ago
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

Other

Thanks

thegulshankumar commented 4 years ago

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

leonstafford commented 4 years ago

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 :)