elementor / elementor/static-html-output

exporting from localhost causes issues.

Open
#127 13 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
128
Forks
35
PR merge metrics
No merged PRs in 30d

Description

An awesome use case of this plugin is running a wordpress server locally as a development environment, and then deploying the static site from the plugin menu in a browser, in my case to Netlify. But I think that my server setup is making this plugin behave differently than it is supposed to; deploying to Netlify works API wise, but then the site only displays "Page not found," and deploying to a .zip creates an archive with the wordpress installation, but embedded in the absolute path to the directory I am hosting wordpress in:

![image](https://user-images.githubusercontent.com/9441877/88449963-2ba59e80-ce19-11ea-8ddf-3ddf74cc6c8f.png)

I am using laragon on windows to host. Dragging the "static-html-output" folder from the archive or wp-conten/uploads to the Netlify site "Deploys" page works as intended, so the plugin is creating the static site correctly, just deploying it wrong when hosting wordpress on windows. So, I think somehow this plugin is treating the website root directory as the native windows path to index.php, instead of just the folder index.php is in. Maybe this is for another use case? All I know is that deploying straight to Netlify instead of dragging the folder from uploads to the deploys page would be really slick.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.