Member-only story
How to Find Broken Links in Drupal Using Link Checker
Easy steps to start tracking broken links on your site.
2 min readMar 11, 2021
Link checker is a module that regularly checks your content and reports broken links.
First, download it:
composer require drupal/linkchecker
Then, enable it:
drush en linkchecker -y
Now, you need to configure the fields you want Link Checker to check:
- Go to /admin/structure/types.
- Click on “Manage fields” on one of the content types.
- Edit the field you want to track broken links and enable link checker:
- Save the changes. Do the same process for all the fields and content types you need.
Once enabled in all the fields you need, navigate to Administration > Configuration > Content authoring > Link checker:
- Under “Link extraction”, select the HTML tags that should be scanned: