A script to check correctness of internal links in a website:
There is a module [[https://www.drupal.org/project/linkchecker|Link checker]]. I tried this, it works, but if you enable to automatically repair '301: permanently moved' links, only pages in standard format are treated correctly. Other pages, such as 'wiki content' in this website will be mutilated. So I removed this module.