wummel / linkchecker

check links in web documents or full websites
http://wummel.github.io/linkchecker/
GNU General Public License v2.0
1.42k stars 234 forks source link

How do you check site for external links #547

Open CharlesDLSNJ opened 10 years ago

CharlesDLSNJ commented 10 years ago

Hi-

I just downloaded Linkchecker 9.3. I need a link checking program to check if external links on our sites are having problems. Linkchecker is supposed to do it, but when I try it, it only returns internal links.

I tried looking at the FAQ and manual and can't find anything.

Hopefully someone could tell me if a change needs to be made in a setting.

Thanks

Mark-Hetherington commented 10 years ago

Hi,

You can either use --check-extern or use checkextern=1 in the linkcheckerrc configuration file.

Cheers, Mark

mcmarko commented 8 years ago

Mark,

I really like the LinkChecker 9.3 GUI but I'm still having a problem checking external sites even after changing the configuration file as mentioned above. Any assistance would be appreciated.

Thank you, mcmarko

SpiritLevel commented 8 years ago

I'm having the same problems checking external sites using linkchecker-gui too; they are all filtered as outside domain. I have set checkextern=1 in linkcheckerrc. Using KLinkStatus in the meantime, unless there is a solution to this problem somewhere someone could point me to.

fedelibre commented 8 years ago

@CharlesDLSNJ you should have labeled it as Question. Do you have the rights to label it? Anyway, you got the reply to your question, I think.

I have a related question: if I understand correctly, --check-externs enables checking external URLs besides the internal URLs. Is it possible to check the external URLs only?

fedelibre commented 8 years ago

@wummel can you please let me know if checking external URLs only is possible already?

Mark-Hetherington commented 8 years ago

Hi @fedelibre, you need to process internal links to find all the external ones, so I can't see how this would be possible. What I can see being possible would be to only report external URL failures, but I think you could also achieve this by filtering the reported output?

fedelibre commented 8 years ago

@Mark-Hetherington Yes, I can filter the reported output. However reporting only external URL failures would be convenient (I'm working on a website with lots of broken internal links which are hard to fix and I want to work on external links only at the moment).

Thanks