Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Zacatero opened this issue Oct 28, 2024 · 3 comments
Open

Comments

@Zacatero
Copy link

Zacatero commented Oct 28, 2024

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
Copy link
Author

Zacatero commented Nov 2, 2024

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
Copy link

EllyKher commented Nov 16, 2024

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
Copy link
Author

Zacatero commented Nov 16, 2024

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants