elementor / static-html-output

Static HTML Output Plugin for WordPress

Home Page:https://statichtmloutput.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ability to export site with relative links

derintolu opened this issue · comments

why was this feature removed?

commented

I agree it would be helpful to export all the resources and posts as relative links. It would help with some of the http/https mixed content invalidation.

Hi all, there's another issue(s) where I explain some of the reasons (potential for bad exports/invalid HTML).

I'd still like to offer the ability, whether it requires some disclaimer about the risks.

To avoid mixed protocols, a "force https" plugin may do a better job.

Adding your own post processing step to do additional rewrites is another option and a bit easier in WPStatic's more developer-friendly hooks. WP2Static also lends itself better for me or anyone to create an addon specifically for this user need.

For me, the most appealing benefit to the relative URLs is staging/prod envs using the same generated static site without extra processing, but usually you'll know the exact URL to target for deployment.

Finishing up some exciting work on https://github.com/leonstafford/lokl, which will aid in testing/developing features like this.

In the meantime, if you need help with some shell scripts to do extra rewrites on your output site's files, share me what you've got so far and can assist.

Thanks for your patience/understanding and I am listening to this request.