Team Staatic
Forum Replies Created
-
Forum: Plugins
In reply to: [Staatic - Static Site Generator] Stuck ar crawlingWe’re glad to hear that you were able to resolve the issue by adjusting the timeout limits. If you need any further assistance, feel free to reach out.
Thank you for updating us, and happy publishing! 🙂
Forum: Plugins
In reply to: [Staatic - Static Site Generator] Stuck ar crawlingHello!
Thank you for your kind words about the plugin. We’re sorry to hear you’re encountering an issue where the build process stalls. When a publication stalls without any errors, it often indicates a HTTP timeout or an uncaught fatal error. Let’s work through some steps to resolve this.
First, we recommend trying to initiate the publication using the Staatic publish WP-CLI command instead of through WP-Admin. The CLI command bypasses the usual web request constraints such as memory and time limits. You can find detailed instructions on how to use the WP-CLI command in our documentation.
If using WP-CLI isn’t feasible, please enable
WP_DEBUGandWP_DEBUG_LOGin your WordPress configuration and restart the publication process. When it stalls, check the/wp-content/debug.logfile for any error messages. For detailed instructions, have a look here.Should there be no errors in the log, it would be helpful if you could share the site health information. This can be done by navigating to WP-Admin > Tools > Site Health > Info (tab) and clicking “Copy site info to clipboard”. You can paste this information here or email it to us at contact@staatic.com.
Looking forward to your feedback.
Thank you for the update. It seems that Fleek.xyz hosting might require the
index.htmlfor directory URLs to work properly. To better assist you, could you share the URL to your site? If you prefer to keep this information private, you can email it to contact@staatic.com. Thanks!Thank you for clarifying your use case.
To address your requirement of excluding the
/index.htmlpart from URLs, we’ve added an experimental option in the development version of the Staatic plugin. You can download this version by going to the plugin’s page advanced view, navigating to Previous Versions under Advanced Options, and choosing the Development Version. Once downloaded, update your plugin to this version.After updating, go to Staatic > Settings > Build, where you will find the option “Append
/index.htmlto directory URLs”. Uncheck this option and click Save Changes at the bottom of the page. Then, start a new publication to apply these settings.Please let us know if this resolves your issue or if you need further assistance.
Hi @kavish895,
When using the “Offline URL” option in Staatic, it generates relative links for static content, which is useful for viewing the site without a web server, using
file://URLs. In this case, each page’sindex.htmlmust be explicitly referenced because there’s no server to interpret URLs and serve the default index file.Could you clarify how you’re running your static site locally? Are you using a web server like Nginx, or are you opening the files directly in your browser?
If you’re using Nginx, you can set a regular destination URL under Build settings, like
/orhttps://www.mysite.local/, depending on your web server configuration. This approach allows Nginx to handle URL requests and serve default index files without needing to specifyindex.html.If you’re opening files directly in your browser, the
index.htmlmust be included in the URL. What is your reason for wanting to omitindex.htmlin this setup?Forum: Reviews
In reply to: [Staatic - Static Site Generator] Best WP Static Site GeneratorThank you very much, @giampiero , for the wonderful review! Your support is truly appreciated and motivates us to continue enhancing our plugin.
Thanks for letting us know it worked! If you have any more questions or need further help, feel free to start a new topic.
Hi @webverts.
First of all, thanks for using Staatic! While there’s currently no built-in feature in the interface to change the 404 path, you can achieve this through a custom action hook.
You can find a working example of such a script here: https://gist.github.com/staaticdotcom/c42db4699118b3c83518be431a340013. To use it, simply download the
staatic_post_processor_cloudflare.phpfile and place it in your/wp-content/mu-pluginsfolder (you might need to create this folder if it doesn’t already exist). Once you’ve done that, on the next publication, the 404 page should be stored as404.html.We’re also considering adding direct support for this feature from the interface in future updates, but for now, this should serve as a solid workaround.
Let us know how it goes, and feel free to reach out if you have any questions or run into any issues!
Forum: Plugins
In reply to: [Staatic - Static Site Generator] Getting timeout error while publishingSince we haven’t heard back from you, we’ll consider this issue resolved for now. If you’re still experiencing any problems, please feel free to reopen the topic or start a new thread. Thank you!
Forum: Reviews
In reply to: [Staatic - Static Site Generator] Best WordPress Static Site GeneratorThank you, @hatisenang , for your review and feedback! We’re glad Staatic is helping with your site conversions.
We do support incremental pushes using the Publish Selection feature, which allows you to update only a subset of your site’s pages. Our premium plugin expands this further with the Publish Changes feature, which automatically publishes new, updated, or deleted posts/pages. If that’s what you’re looking for, the premium version might be worth considering.
Thanks for supporting Staatic!
Forum: Plugins
In reply to: [Staatic - Static Site Generator] Getting timeout error while publishingThanks for providing the additional information. It appears that the high number of resources is causing a timeout during the Netlify deployment initialization step. By default, an additional path is configured under Staatic > Settings > Build to include everything in your
wp-content/uploadsdirectory, which might be including too many files.You can try disabling this additional path temporarily so that the Staatic crawler only includes the directly referenced assets and see if this helps. If this doesn’t resolve the issue, we recommend using the WP-CLI publish command for large deployments, as it bypasses the resource limits that the web publisher encounters.
For more details on the WP-CLI publish command, please refer to the documentation here.
Please let us know if this helps.
Forum: Plugins
In reply to: [Staatic - Static Site Generator] Getting timeout error while publishingHi @slawa19, just checking in to see if you were able to resolve the timeout issue you were experiencing during the deployment of your static site. If you’re still having trouble, please let us know so we can assist you further. Thanks!
Forum: Plugins
In reply to: [Staatic - Static Site Generator] Getting timeout error while publishingHi @slawa19, sorry to hear you’re running into a timeout issue during the deployment of your static site. To help us better understand the issue, could you please provide some additional details:
- Which deployment method are you using (e.g., Local Directory, S3, etc.)?
- Can you give us an idea of the size of your site? Specifically, how many resources does the publication encompass? You can find this information from the publication detail page’s summary view, as well as the resources tab list view.
Additionally, it might be helpful to check your site’s health information. You can do this by going to WP-Admin > Tools > Site Health > Info (tab) and clicking “Copy site info to clipboard.”. You may email this information to contact@staatic.com if you prefer.
Looking forward to your feedback.
Since there hasn’t been any update for a while, we’ll be marking this issue as resolved due to inactivity. If the issue persists, please feel free to reopen the thread.
Since there hasn’t been any update for a while, we’ll be marking this issue as resolved due to inactivity. If the issue persists, please feel free to reopen the thread.