elementor / wp2static-addon-s3

S3 deployment Add-on for WP2Static
The Unlicense
35 stars 23 forks source link

Full Post not working #45

Open TheTraille18 opened 3 years ago

TheTraille18 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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