elementor / wp2static

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

Issues with installation in sub directory and maybe theme loading scripts too #228

Closed davidlevy247 closed 5 years ago

davidlevy247 commented 5 years ago

404 issue I tried WP2Static in Wordpress which installed on a subdirectory of my site. However, when crawling your plugin is checking for files in the site root which WordPress is not installed and returning a 404. It should only be searching for files recursively starting from the subdirectory WordPress is installed in.

possible additional issue WP2Static does not seem to want to crawl my theme which uses a preloader/loading gif. The theme is a very popular and a well-documented theme called Impreza from Envato's Themeforest. But this issue could be related to the 404 issues above with incorrect crawling.

davidlevy247 commented 5 years ago

issue resolved by cleaning uploads folder

leonstafford commented 5 years ago

Hi @LevyImage, sorry for the late response from me on this - glad you got it sorted!

Will ponder how this might be avoided / better reported to the user when it occurs.

Was this after migrating the site from one location to another and the crawl list or such was using the old structure?

davidlevy247 commented 5 years ago

Sorry, I think it was simply user error. My fault. I was able to get it to crawl as well as generate. Albeit with one relative URL issue but otherwise working out.