elementor / wp2static

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

Crawling error because double url in path. #677

Open losderpos opened 4 years ago

losderpos commented 4 years ago

Getting crawling errors on all files because my url (https://wouterwideweb.test) get's used twice in the url:

Error while retrieving URL: https://wouterwideweb.testhttp/wouterwideweb.test/wp-content/plugins/wp2static/vendor/squizlabs/php_codesniffer/tests/Core/Filters/Filter/AcceptTest.xml

Also, is it normal that all plugin files get crawled as well?

leonstafford commented 4 years ago

@losderpos hmm, that's probably not going to be a quick fix if it can be at all, due to rewriting requirements.

Suggest for now, renaming your dev server's site name to mitigate that.

Re all plugin assets being detected, yes, that's the default in this project. There's a filter you can override to disable that part of the detection.

FYI, this alternate project doesn't do any plugin asset detection, only discovery: https://github.com/leonstafford/static-html-output/

losderpos commented 4 years ago

@leonstafford Renaming the dev site did the trick, cheers!

Just so I'm on the same page, what's the main difference between WP2static and Static-html-output?

leonstafford commented 4 years ago

@losderpos, great!

In a nutshell:

We'll see how they continue to develop and if they merge again or make sense to keep separate

ncrosno commented 3 years ago

I've come across this issue as well. Can anyone elaborate on what the site name should be changed to, and how would that help?