I am trying to download a website for offline use using the following wget command on an Ubuntu machine:

wget --recursive --background --adjust-extension --continue --page-requisites --convert-links --restrict-file-names=windows --no-parent --limit-rate=10M --span-hosts --domains=xxx.domain.com,yy.yydomain.com,zz.zzdomain.com -o output.log http ://xxx.domain.com

The problem is that after downloading the site successfully, I found that some of the links were not converted for offline use. On closer investigation I found that those links are pointing to resources using the https protocol instead of http:

e.g http ://xxx.domain.com/xx/resource was converted while https ://xxx.domain.com/xx/resource was not converted

I would appreciate any help with this.


  • Did you have errors with the download or just errors with link conversion in saving? – Tom Ruh May 12 '15 at 15:11
  • Hi Tom, No errors with the download, everything goes fine, its just that at the end some of the links still point to the web and not to local resources on the disk – Chukwuemeka Afigbo May 12 '15 at 15:17
  • @ChukwuemekaAfigbo I got a similar issue. Did you figure out the issue? – Andy Oct 28 '18 at 18:24

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.