=== Fylo Static ===
Contributors: fylohost
Tags: static site, static site generator, deploy, html export, static html
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Export your WordPress site as static HTML and deploy it to Fylo.Host, or download it as a ZIP – from wp-admin, in one click.

== Description ==

Fylo Static turns your WordPress site into plain HTML, CSS, JS and images, then pushes the result to a static host. Keep editing in WordPress; your visitors get a fast, secure static site.

* Crawls every published post, page, term archive and your sitemap, following links to find assets.
* Rewrites all URLs to your destination domain.
* **Deploy to Fylo.Host** – paste an API key and click deploy. The site is created for you on the first run, no upload needed.
* **ZIP download** – host the files anywhere.

**What does not work on a static site:** comments, search, contact forms, and anything that needs PHP at request time.

== External services ==

This plugin connects to Fylo.Host (https://fylo.host), a static site hosting service, to publish your exported site. It is used only when "Deploy to" is set to Fylo.Host and you click "Export & Deploy". With "ZIP download only", nothing is sent to any outside service.

What is sent, and when:

* At the start of each deploy: your Fylo.Host API key, to read your account plan and list of sites and to check that the chosen subdomain is free. The subdomain comes from your setting, or is made from your site title or domain name.
* At the end of each deploy: a ZIP of the exported static site (the public HTML, CSS, JavaScript and media files that logged-out visitors can already see), together with the subdomain.

No data is sent when you install, activate or save settings.

To build the export, the plugin also loads pages from your own site over HTTP. These requests go only to your site's own domain.

* Fylo.Host Terms of Service: https://fylo.host/terms
* Fylo.Host Privacy Policy: https://fylo.host/privacy

== Installation ==

1. Install and activate the plugin.
2. Go to **Fylo Static** in the admin menu.
3. Choose a deploy target, enter the credentials and the destination URL, and save.
4. Click **Export & Deploy**.

== Frequently Asked Questions ==

= Where are the exported files stored? =

In `wp-content/uploads/fylo-static/`. The folder is removed when you uninstall the plugin.

= Can other people download the export? =

The ZIP sits in your uploads folder, so anyone who knows its exact URL can download it, just like any other uploaded file. It only contains pages and files your logged-out visitors can already see. Folder listing is blocked. To remove it after deploying, click "Delete from server" on the Fylo Static page.

= Can I keep my domain? =

Yes. Move WordPress to a private hostname (e.g. wp.example.com), set the destination URL to https://example.com, and point example.com at your static host.

== Changelog ==

= 1.0.0 =
* Initial release.
