elementor / wp2static

WordPress static site generator for security, performance and cost benefits
https://wp2static.com
The Unlicense
1.42k stars 266 forks source link

404 Error while Crawling Images #875

Open LakhanGandhi opened 2 years ago

LakhanGandhi commented 2 years ago

Issue : While generating static site, in crawling, images are getting 404 error for favicon and uploaded images.

Initial Finding :

In above example, "/wp-content/uploads" is default upload folder path and "\2022\07\bg1.jpg" is image path.

In Image path \ should be replaced with / like its In "C:\Bitnami\wordpress-6.0-0\apps\wordpress\htdocs\wp-content\plugins\wp2static\src\" , DetectWPIncludesAssets.php is replacing \ with / for Assets url for windows.

System and Setup Details :

Theme Details :

Error Screenshot : Logs

leonstafford commented 2 years ago

Many thanks for reporting this, @LakhanGandhi!

iammudassar commented 2 years ago

Facing the same issue