crawl tries wrong urls and produces many false 404s #911
vadimkantorov
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
My first run of
php wp-cli.phar wp2static crawl:I've got
and many more of such 404s. but actually http://localhost:8080/wp-includes/blocks/comments-pagination-numbers/editor-rtl.css serves the file correctly!
Maybe the output of
detectalready detected wrong URLs? Am I missing something obvious? How do I confiugre wp2static to fetch the locally-served pages/assets?I still tried to proceed further and call post_process. Then I inspected the output of
wp-content/uploads/wp2static-crawled-siteandwp-content/uploads/wp2static-processed-siteDoing
open wp-content/uploads/wp2static-processed-site/index.html. It opens (quite strange after so many 404s?), but the URL to the post stayedhttp://localhost:8080/2024-01-28-hello-world/and not./2024-01-28-hello-world/index.html. Is it possible to adjust the links so that the site is browsable fromfile:///locally?Thank you! :)
Beta Was this translation helpful? Give feedback.
All reactions