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

Full Post not working #45

Open
TheTraille18 opened this issue Jul 12, 2021 · 4 comments
Open

Full Post not working #45

TheTraille18 opened this issue Jul 12, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@TheTraille18
Copy link

So after I do a full deployment to s3, everything works except can't view the full post when I click the "Continue Reading" link. This is supposed to go to /?p=8 but it stays at the same page. Using cloudfront with s3. Really new to WordPress so not sure where else to look. Any ideas?

@leonstafford
Copy link
Contributor

Hi @TheTraille18, please change to pretty permalinks in WP settings, this will fix the links to be like /my-post/ instead if ?p=123. That will fix that issue

@TheTraille18
Copy link
Author

Getting some fetch errors whne I switch to anything other than ?p=
2021-07-13 01:50:28: Unable to fetch URL contents
2021-07-13 01:50:25: Starting to detect WordPress site URLs.
2021-07-13 01:50:25: Starting URL detection
2021-07-13 01:50:25: Running WP2Static in Headless mode
2021-07-13 01:50:25: Running full workflow from UI
2021-07-13 01:49:03: Starting post-deployment actions
2021-07-13 01:48:59: S3 Addon deploying
2021-07-13 01:48:59: Starting deployment
2021-07-13 01:48:59: Post-processing completed
2021-07-13 01:48:59: Finished processing crawled site.
2021-07-13 01:48:34: Processing crawled site.
2021-07-13 01:48:34: Starting post-processing
2021-07-13 01:48:34: Crawling completed
2021-07-13 01:48:34: Crawling complete. 6 crawled, 612 skipped (cached).
2021-07-13 01:48:30: 404 for URL /wp_sitemap.xml
2021-07-13 01:48:30: 404 for URL /sitemap.xml
2021-07-13 01:48:30: 404 for URL /sitemap_index.xml
2021-07-13 01:48:30: 404 for URL /robots.txt
2021-07-13 01:48:30: 404 for URL /page/1/
2021-07-13 01:48:30: 404 for URL /favicon.ico
2021-07-13 01:48:30: Using CrawlCache.
2021-07-13 01:48:30: Starting to crawl detected URLs.
2021-07-13 01:48:30: Starting crawling
2021-07-13 01:48:30: URL detection completed (616 URLs detected)
2021-07-13 01:48:30: Detection complete. 616 URLs added to Crawl Queue.
2021-07-13 01:48:24: Starting to detect WordPress site URLs.
2021-07-13 01:48:24: Starting URL detection
2021-07-13 01:48:24: Running WP2Static in Headless mode
2021-07-13 01:48:24: Running full workflow from UI
2021-07-13 01:47:47: Unable to fetch URL contents

Also this was from https://github.com/TechToSpeech/terraform-aws-serverless-static-wordpress.

@leonstafford
Copy link
Contributor

Looks unrelated and probably safe to ignore. You just don't have those common paths it's checking. Site exports OK otherwise?

If hitting hard errors, that block deployment, see main WP2Static issues re sitemaps/robots for certain WP site setups and usable workarounds

@TheTraille18
Copy link
Author

Checked s3 and doesn't seem the the full post pages aren't even being generated.

@john-shaffer john-shaffer added the bug Something isn't working label Oct 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants