Simply-Static / simply-static

Convert your WordPress site into a static one with the free WordPress static site generator plugin, Simply Static.
https://simplystatic.com
GNU General Public License v2.0
200 stars 49 forks source link

Some pages missing in exports, even with Sitemap linked on homepage #268

Open Zacatero opened 1 month ago

Zacatero commented 1 month ago

I noticed that I have to run the export four or five times before I get every page exported. Even with a sitemap that links to everything present in the footer on the homepage, I find I have to export it that many times before I get a full collection of everything. And sometimes, it only pulls the homepage and nothing else.

Is there anything I can do to make this more consistent? Is there a way for me to tell the SimplyStatic tool what my Sitemap is so it ALWAYS looks at that sitemap and all of the links within it, etc?

Zacatero commented 3 weeks ago

Just to add to this, it feels odd that it relies entirely on the crawler when Wordpress has a whole function for "Pages" and "Posts", why not just go based off of those lists at least, and then use the crawler for everything else?

EllyKher commented 1 week ago

Hey @Zacatero !

I stumbled upon your comment after encountering your same issue, but managed to fix it.

Are you using WPLocal as local development environment? If so, make sure to switch your Web server in the WPLocal Settings from Nginx to Apache. I know you already did, but include an HTML Sitemap in your site. You can use Simple Sitemap to do that. Once done, make sure to manually add the Sitemap URL in Simply Static under Settings->General->Include.

Resources:

Hope it helps!

Zacatero commented 1 week ago

@EllyKher Yes! I am using WPLocal. I appreciate this comment. I switched to Apache and put the Sitemap on the settings, and now it just stays on "Fetched 0 of 2 pages/files" forever. I have noticed an improvement in other ways, like if I hit cancel it actually cancels instead of just timing out later, but I can't get it to actually work now on Apache. Do I need to also do something else?