You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using this to validate a Hugo website and I think linkcheck is not honouring the redirect.
The homepage is requesting a redirect from / to /en. Linkcheck seems to detect that (completely new destination: http://localhost:1313/en/), but finds no links.
If I run /linkcheck :1313/en --debug, then it works as expected.
Am I missing anything?
This is what I'm doing:
Running: /linkcheck :1313 --debug
Output is:
Reading URLs:
http://localhost:1313/
Crawl will start on the following URLs: [http://localhost:1313/]
Crawl will check pages only on URLs satisfying: {http://localhost:1313/**}
Crawl will skip links that match patterns: UrlSkipper<>
Crawl will check the following servers (and their robots.txt) first: {localhost:1313}
Using 8 threads.
Checking robots.txt and availability of server: localhost:1313
Added: http://localhost:1313/ to Worker<1> with 0ms delay
Server check of localhost:1313 complete.
Server check for localhost:1313 complete: connected, robots.txt found.
Done checking: http://localhost:1313/ (HTTP 200) => 1 links
- completely new destination: http://localhost:1313/en/
Added: http://localhost:1313/en/ to Worker<0> with 0ms delay
Done checking: http://localhost:1313/en/ (HTTP 200) => 0 links
Hi,
I'm using this to validate a Hugo website and I think linkcheck is not honouring the redirect.
The homepage is requesting a redirect from
/
to/en
. Linkcheck seems to detect that (completely new destination: http://localhost:1313/en/
), but finds no links.If I run
/linkcheck :1313/en --debug
, then it works as expected.Am I missing anything?
This is what I'm doing:
/linkcheck :1313 --debug
curl localhost:1313
:The text was updated successfully, but these errors were encountered: