{"id":434,"date":"2023-08-23T13:54:23","date_gmt":"2023-08-23T13:54:23","guid":{"rendered":"https:\/\/razvanvancea.ro\/blog\/?p=434"},"modified":"2024-09-27T09:55:24","modified_gmt":"2024-09-27T09:55:24","slug":"how-to-scan-your-website-to-spot-potential-broken-links","status":"publish","type":"post","link":"https:\/\/razvanvancea.ro\/blog\/2023\/08\/23\/how-to-scan-your-website-to-spot-potential-broken-links\/","title":{"rendered":"How to scan your website to spot potential BROKEN LINKS"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"434\" class=\"elementor elementor-434\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-a0267be elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a0267be\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-26e9c81\" data-id=\"26e9c81\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-db4e17a elementor-widget elementor-widget-text-editor\" data-id=\"db4e17a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>I recently discovered a broken-link-checker Javascript library that a few minutes later was identifying broken links that I was not aware of, in the project that I&#8217;ve been working on.<\/p><p>This blog article is about <a href=\"https:\/\/www.npmjs.com\/package\/broken-link-checker\" target=\"_blank\" rel=\"noopener\">broken-link-checker, an NPM dependency<\/a> that you can use to <em>find broken links, missing images, and so on<\/em> in your web application.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d87f46d elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d87f46d\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4376cc2\" data-id=\"4376cc2\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d80aca2 elementor-widget elementor-widget-heading\" data-id=\"d80aca2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Prerequisites<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-59a6a86 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"59a6a86\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-3b44043\" data-id=\"3b44043\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-95702d5 elementor-widget elementor-widget-text-editor\" data-id=\"95702d5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>NodeJS &amp; NPM &#8211; <a href=\"https:\/\/www.youtube.com\/watch?v=j8HZpFjPPVU&amp;t=2s\" target=\"_blank\" rel=\"noopener\">Setup tutorial here<\/a><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d56ec03 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"d56ec03\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b453927\" data-id=\"b453927\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4e20d2f elementor-widget elementor-widget-heading\" data-id=\"4e20d2f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Installation<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1b56df3 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1b56df3\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1e661f9\" data-id=\"1e661f9\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-857404c elementor-widget elementor-widget-text-editor\" data-id=\"857404c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<pre><strong>npm install -g broken-link-checker<\/strong><\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ed3ef12 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ed3ef12\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-2f224c6\" data-id=\"2f224c6\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-1e35efc elementor-widget elementor-widget-heading\" data-id=\"1e35efc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Run<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-39fcc47 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"39fcc47\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-49fac8d\" data-id=\"49fac8d\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6073765 elementor-widget elementor-widget-text-editor\" data-id=\"6073765\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul dir=\"auto\"><li>scan only the links on the current page<\/li><\/ul><div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\"><pre><strong>blc https:\/\/qa-practice.netlify.app<\/strong><\/pre><div class=\"zeroclipboard-container position-absolute right-0 top-0\">\u00a0<\/div><\/div><ul dir=\"auto\"><li>scan links recursively in the entire project (current page, other pages, and subpages; adding -ro flag)<\/li><\/ul><div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\"><pre><strong>blc https:\/\/qa-practice.netlify.app -ro<\/strong><\/pre><div class=\"zeroclipboard-container position-absolute right-0 top-0\">\u00a0<\/div><\/div><ul dir=\"auto\"><li>exclude external domains (adding -e flag)<\/li><\/ul><div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\"><pre><strong>blc https:\/\/qa-practice.netlify.app -roe<\/strong><\/pre><div class=\"zeroclipboard-container position-absolute right-0 top-0\">\u00a0<\/div><\/div><ul dir=\"auto\"><li>exclude specific domain URLs (e.g. Twitter and LinkedIn; using &#8211;exclude flag)<\/li><\/ul><div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\"><pre><strong>blc https:\/\/qa-practice.netlify.app -ro --exclude twitter --exclude linkedin<\/strong><\/pre><\/div><div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\"><p>Note: For additional options, you can run<\/p><div class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\"><pre><strong>blc --help<\/strong><\/pre><\/div><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-84370c8 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"84370c8\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8455e18\" data-id=\"8455e18\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b897e09 elementor-widget elementor-widget-heading\" data-id=\"b897e09\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Output<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-997ce4d elementor-widget elementor-widget-image\" data-id=\"997ce4d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"640\" height=\"389\" src=\"https:\/\/razvanvancea.ro\/blog\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-16.52.22-1024x622.png\" class=\"attachment-large size-large wp-image-452\" alt=\"link-checker-output\" srcset=\"https:\/\/razvanvancea.ro\/blog\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-16.52.22-1024x622.png 1024w, https:\/\/razvanvancea.ro\/blog\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-16.52.22-300x182.png 300w, https:\/\/razvanvancea.ro\/blog\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-16.52.22-768x466.png 768w, https:\/\/razvanvancea.ro\/blog\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-16.52.22-1536x932.png 1536w, https:\/\/razvanvancea.ro\/blog\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-16.52.22-2048x1243.png 2048w, https:\/\/razvanvancea.ro\/blog\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-16.52.22-850x516.png 850w, https:\/\/razvanvancea.ro\/blog\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-16.52.22-24x15.png 24w, https:\/\/razvanvancea.ro\/blog\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-16.52.22-36x22.png 36w, https:\/\/razvanvancea.ro\/blog\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-23-at-16.52.22-48x29.png 48w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-de9c11d elementor-widget elementor-widget-spacer\" data-id=\"de9c11d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e6a5a13 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"e6a5a13\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d7e12a8\" data-id=\"d7e12a8\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-44e35ca elementor-widget elementor-widget-heading\" data-id=\"44e35ca\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">NOTE: you can use the tool as project dependency as well<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2e3f9d1 elementor-widget elementor-widget-text-editor\" data-id=\"2e3f9d1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<pre>I created a step by step tutorial <a href=\"https:\/\/github.com\/razvanvancea\/broken-link-checker-tool\" target=\"_blank\" rel=\"noopener\">HERE<\/a><\/pre>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c299e71 elementor-widget elementor-widget-text-editor\" data-id=\"c299e71\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Enjoyed this article? Make sure to subscribe to my <em><a href=\"https:\/\/www.youtube.com\/@LearnwithRV\" target=\"_blank\" rel=\"noopener\">YouTube Channel<\/a><\/em> for more Test Automation tutorials, and follow me on <a href=\"https:\/\/www.linkedin.com\/in\/razvanvancea\/\" target=\"_blank\" rel=\"noopener\"><em>LinkedIn<\/em><\/a> and <em><a href=\"https:\/\/twitter.com\/razvanvancea\" target=\"_blank\" rel=\"noopener\">Twitter<\/a><\/em> for regular insights.<strong> <br \/>Looking to accelerate your test automation journey? <br \/>I&#8217;ve designed a personalized 1-on-1 mentoring program tailored to boost your skills. Reach out at <a rel=\"noopener\">iamqarv@gmail.com<\/a> for more details \ud83d\ude80<br \/><\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>I recently discovered a broken-link-checker Javascript library that a few minutes later was identifying broken&#8230;<\/p>\n","protected":false},"author":2,"featured_media":476,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[12],"tags":[],"class_list":["post-434","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tools"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"I recently discovered a broken-link-checker Javascript library that a few minutes later was identifying broken links that I was not aware of, in the project that I\u2019ve been working on.This blog article is about broken-link-checker, an NPM dependency that you can use to find broken links, missing images, and so on in your web application.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Razvan Vancea\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/razvanvancea.ro\/blog\/2023\/08\/23\/how-to-scan-your-website-to-spot-potential-broken-links\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Learn with RV - Tech Blog - #testautomation #qa #programming #linux #devops\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to scan your website to spot potential BROKEN LINKS - Learn with RV - Tech Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"I recently discovered a broken-link-checker Javascript library that a few minutes later was identifying broken links that I was not aware of, in the project that I\u2019ve been working on.This blog article is about broken-link-checker, an NPM dependency that you can use to find broken links, missing images, and so on in your web application.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/razvanvancea.ro\/blog\/2023\/08\/23\/how-to-scan-your-website-to-spot-potential-broken-links\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-08-23T13:54:23+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-09-27T09:55:24+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/razvanvancea\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@RazvanVancea\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to scan your website to spot potential BROKEN LINKS - Learn with RV - Tech Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"I recently discovered a broken-link-checker Javascript library that a few minutes later was identifying broken links that I was not aware of, in the project that I\u2019ve been working on.This blog article is about broken-link-checker, an NPM dependency that you can use to find broken links, missing images, and so on in your web application.\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@RazvanVancea\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/2023\\\/08\\\/23\\\/how-to-scan-your-website-to-spot-potential-broken-links\\\/#blogposting\",\"name\":\"How to scan your website to spot potential BROKEN LINKS - Learn with RV - Tech Blog\",\"headline\":\"How to scan your website to spot potential BROKEN LINKS\",\"author\":{\"@id\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/author\\\/iamrv\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/Copie-a-Copie-a-TOP.png\",\"width\":1920,\"height\":1080,\"caption\":\"broken-link-checker-image\"},\"datePublished\":\"2023-08-23T13:54:23+00:00\",\"dateModified\":\"2024-09-27T09:55:24+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/2023\\\/08\\\/23\\\/how-to-scan-your-website-to-spot-potential-broken-links\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/2023\\\/08\\\/23\\\/how-to-scan-your-website-to-spot-potential-broken-links\\\/#webpage\"},\"articleSection\":\"Tools\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/2023\\\/08\\\/23\\\/how-to-scan-your-website-to-spot-potential-broken-links\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/razvanvancea.ro\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/category\\\/tools\\\/#listItem\",\"name\":\"Tools\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/category\\\/tools\\\/#listItem\",\"position\":2,\"name\":\"Tools\",\"item\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/category\\\/tools\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/2023\\\/08\\\/23\\\/how-to-scan-your-website-to-spot-potential-broken-links\\\/#listItem\",\"name\":\"How to scan your website to spot potential BROKEN LINKS\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/razvanvancea.ro\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/2023\\\/08\\\/23\\\/how-to-scan-your-website-to-spot-potential-broken-links\\\/#listItem\",\"position\":3,\"name\":\"How to scan your website to spot potential BROKEN LINKS\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/category\\\/tools\\\/#listItem\",\"name\":\"Tools\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/#person\",\"name\":\"RV\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/2023\\\/08\\\/23\\\/how-to-scan-your-website-to-spot-potential-broken-links\\\/#personImage\",\"url\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/91ce41471f9ba5f15b3ef99e7deed87c.jpg?ver=1785997097\",\"width\":96,\"height\":96,\"caption\":\"RV\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/razvanvancea\\\/\",\"https:\\\/\\\/twitter.com\\\/RazvanVancea\",\"https:\\\/\\\/www.youtube.com\\\/@LearnwithRV\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/razvanvancea\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/author\\\/iamrv\\\/#author\",\"url\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/author\\\/iamrv\\\/\",\"name\":\"Razvan Vancea\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/2023\\\/08\\\/23\\\/how-to-scan-your-website-to-spot-potential-broken-links\\\/#authorImage\",\"url\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/wp-content\\\/litespeed\\\/avatar\\\/356548feb901191539c03dd4a0498f58.jpg?ver=1785997099\",\"width\":96,\"height\":96,\"caption\":\"Razvan Vancea\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/2023\\\/08\\\/23\\\/how-to-scan-your-website-to-spot-potential-broken-links\\\/#webpage\",\"url\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/2023\\\/08\\\/23\\\/how-to-scan-your-website-to-spot-potential-broken-links\\\/\",\"name\":\"How to scan your website to spot potential BROKEN LINKS - Learn with RV - Tech Blog\",\"description\":\"I recently discovered a broken-link-checker Javascript library that a few minutes later was identifying broken links that I was not aware of, in the project that I\\u2019ve been working on.This blog article is about broken-link-checker, an NPM dependency that you can use to find broken links, missing images, and so on in your web application.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/2023\\\/08\\\/23\\\/how-to-scan-your-website-to-spot-potential-broken-links\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/author\\\/iamrv\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/author\\\/iamrv\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/Copie-a-Copie-a-TOP.png\",\"@id\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/2023\\\/08\\\/23\\\/how-to-scan-your-website-to-spot-potential-broken-links\\\/#mainImage\",\"width\":1920,\"height\":1080,\"caption\":\"broken-link-checker-image\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/2023\\\/08\\\/23\\\/how-to-scan-your-website-to-spot-potential-broken-links\\\/#mainImage\"},\"datePublished\":\"2023-08-23T13:54:23+00:00\",\"dateModified\":\"2024-09-27T09:55:24+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/\",\"name\":\"Learn with RV - Tech Blog\",\"description\":\"#testautomation #qa #programming #linux #devops\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/razvanvancea.ro\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to scan your website to spot potential BROKEN LINKS - Learn with RV - Tech Blog","description":"I recently discovered a broken-link-checker Javascript library that a few minutes later was identifying broken links that I was not aware of, in the project that I\u2019ve been working on.This blog article is about broken-link-checker, an NPM dependency that you can use to find broken links, missing images, and so on in your web application.","canonical_url":"https:\/\/razvanvancea.ro\/blog\/2023\/08\/23\/how-to-scan-your-website-to-spot-potential-broken-links\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/razvanvancea.ro\/blog\/2023\/08\/23\/how-to-scan-your-website-to-spot-potential-broken-links\/#blogposting","name":"How to scan your website to spot potential BROKEN LINKS - Learn with RV - Tech Blog","headline":"How to scan your website to spot potential BROKEN LINKS","author":{"@id":"https:\/\/razvanvancea.ro\/blog\/author\/iamrv\/#author"},"publisher":{"@id":"https:\/\/razvanvancea.ro\/blog\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/razvanvancea.ro\/blog\/wp-content\/uploads\/2023\/08\/Copie-a-Copie-a-TOP.png","width":1920,"height":1080,"caption":"broken-link-checker-image"},"datePublished":"2023-08-23T13:54:23+00:00","dateModified":"2024-09-27T09:55:24+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/razvanvancea.ro\/blog\/2023\/08\/23\/how-to-scan-your-website-to-spot-potential-broken-links\/#webpage"},"isPartOf":{"@id":"https:\/\/razvanvancea.ro\/blog\/2023\/08\/23\/how-to-scan-your-website-to-spot-potential-broken-links\/#webpage"},"articleSection":"Tools"},{"@type":"BreadcrumbList","@id":"https:\/\/razvanvancea.ro\/blog\/2023\/08\/23\/how-to-scan-your-website-to-spot-potential-broken-links\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/razvanvancea.ro\/blog#listItem","position":1,"name":"Home","item":"https:\/\/razvanvancea.ro\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/razvanvancea.ro\/blog\/category\/tools\/#listItem","name":"Tools"}},{"@type":"ListItem","@id":"https:\/\/razvanvancea.ro\/blog\/category\/tools\/#listItem","position":2,"name":"Tools","item":"https:\/\/razvanvancea.ro\/blog\/category\/tools\/","nextItem":{"@type":"ListItem","@id":"https:\/\/razvanvancea.ro\/blog\/2023\/08\/23\/how-to-scan-your-website-to-spot-potential-broken-links\/#listItem","name":"How to scan your website to spot potential BROKEN LINKS"},"previousItem":{"@type":"ListItem","@id":"https:\/\/razvanvancea.ro\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/razvanvancea.ro\/blog\/2023\/08\/23\/how-to-scan-your-website-to-spot-potential-broken-links\/#listItem","position":3,"name":"How to scan your website to spot potential BROKEN LINKS","previousItem":{"@type":"ListItem","@id":"https:\/\/razvanvancea.ro\/blog\/category\/tools\/#listItem","name":"Tools"}}]},{"@type":"Person","@id":"https:\/\/razvanvancea.ro\/blog\/#person","name":"RV","image":{"@type":"ImageObject","@id":"https:\/\/razvanvancea.ro\/blog\/2023\/08\/23\/how-to-scan-your-website-to-spot-potential-broken-links\/#personImage","url":"https:\/\/razvanvancea.ro\/blog\/wp-content\/litespeed\/avatar\/91ce41471f9ba5f15b3ef99e7deed87c.jpg?ver=1785997097","width":96,"height":96,"caption":"RV"},"sameAs":["https:\/\/www.facebook.com\/razvanvancea\/","https:\/\/twitter.com\/RazvanVancea","https:\/\/www.youtube.com\/@LearnwithRV","https:\/\/www.linkedin.com\/in\/razvanvancea"]},{"@type":"Person","@id":"https:\/\/razvanvancea.ro\/blog\/author\/iamrv\/#author","url":"https:\/\/razvanvancea.ro\/blog\/author\/iamrv\/","name":"Razvan Vancea","image":{"@type":"ImageObject","@id":"https:\/\/razvanvancea.ro\/blog\/2023\/08\/23\/how-to-scan-your-website-to-spot-potential-broken-links\/#authorImage","url":"https:\/\/razvanvancea.ro\/blog\/wp-content\/litespeed\/avatar\/356548feb901191539c03dd4a0498f58.jpg?ver=1785997099","width":96,"height":96,"caption":"Razvan Vancea"}},{"@type":"WebPage","@id":"https:\/\/razvanvancea.ro\/blog\/2023\/08\/23\/how-to-scan-your-website-to-spot-potential-broken-links\/#webpage","url":"https:\/\/razvanvancea.ro\/blog\/2023\/08\/23\/how-to-scan-your-website-to-spot-potential-broken-links\/","name":"How to scan your website to spot potential BROKEN LINKS - Learn with RV - Tech Blog","description":"I recently discovered a broken-link-checker Javascript library that a few minutes later was identifying broken links that I was not aware of, in the project that I\u2019ve been working on.This blog article is about broken-link-checker, an NPM dependency that you can use to find broken links, missing images, and so on in your web application.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/razvanvancea.ro\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/razvanvancea.ro\/blog\/2023\/08\/23\/how-to-scan-your-website-to-spot-potential-broken-links\/#breadcrumblist"},"author":{"@id":"https:\/\/razvanvancea.ro\/blog\/author\/iamrv\/#author"},"creator":{"@id":"https:\/\/razvanvancea.ro\/blog\/author\/iamrv\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/razvanvancea.ro\/blog\/wp-content\/uploads\/2023\/08\/Copie-a-Copie-a-TOP.png","@id":"https:\/\/razvanvancea.ro\/blog\/2023\/08\/23\/how-to-scan-your-website-to-spot-potential-broken-links\/#mainImage","width":1920,"height":1080,"caption":"broken-link-checker-image"},"primaryImageOfPage":{"@id":"https:\/\/razvanvancea.ro\/blog\/2023\/08\/23\/how-to-scan-your-website-to-spot-potential-broken-links\/#mainImage"},"datePublished":"2023-08-23T13:54:23+00:00","dateModified":"2024-09-27T09:55:24+00:00"},{"@type":"WebSite","@id":"https:\/\/razvanvancea.ro\/blog\/#website","url":"https:\/\/razvanvancea.ro\/blog\/","name":"Learn with RV - Tech Blog","description":"#testautomation #qa #programming #linux #devops","inLanguage":"en-US","publisher":{"@id":"https:\/\/razvanvancea.ro\/blog\/#person"}}]},"og:locale":"en_US","og:site_name":"Learn with RV - Tech Blog - #testautomation #qa #programming #linux #devops","og:type":"article","og:title":"How to scan your website to spot potential BROKEN LINKS - Learn with RV - Tech Blog","og:description":"I recently discovered a broken-link-checker Javascript library that a few minutes later was identifying broken links that I was not aware of, in the project that I\u2019ve been working on.This blog article is about broken-link-checker, an NPM dependency that you can use to find broken links, missing images, and so on in your web application.","og:url":"https:\/\/razvanvancea.ro\/blog\/2023\/08\/23\/how-to-scan-your-website-to-spot-potential-broken-links\/","article:published_time":"2023-08-23T13:54:23+00:00","article:modified_time":"2024-09-27T09:55:24+00:00","article:publisher":"https:\/\/www.facebook.com\/razvanvancea","twitter:card":"summary_large_image","twitter:site":"@RazvanVancea","twitter:title":"How to scan your website to spot potential BROKEN LINKS - Learn with RV - Tech Blog","twitter:description":"I recently discovered a broken-link-checker Javascript library that a few minutes later was identifying broken links that I was not aware of, in the project that I\u2019ve been working on.This blog article is about broken-link-checker, an NPM dependency that you can use to find broken links, missing images, and so on in your web application.","twitter:creator":"@RazvanVancea"},"aioseo_meta_data":{"post_id":"434","title":null,"description":null,"keywords":[],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-08-23 14:00:41","updated":"2025-06-06 10:01:20","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/razvanvancea.ro\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/razvanvancea.ro\/blog\/category\/tools\/\" title=\"Tools\">Tools<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to scan your website to spot potential BROKEN LINKS\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/razvanvancea.ro\/blog"},{"label":"Tools","link":"https:\/\/razvanvancea.ro\/blog\/category\/tools\/"},{"label":"How to scan your website to spot potential BROKEN LINKS","link":"https:\/\/razvanvancea.ro\/blog\/2023\/08\/23\/how-to-scan-your-website-to-spot-potential-broken-links\/"}],"jetpack_featured_media_url":"https:\/\/razvanvancea.ro\/blog\/wp-content\/uploads\/2023\/08\/Copie-a-Copie-a-TOP.png","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/razvanvancea.ro\/blog\/wp-json\/wp\/v2\/posts\/434","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/razvanvancea.ro\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/razvanvancea.ro\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/razvanvancea.ro\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/razvanvancea.ro\/blog\/wp-json\/wp\/v2\/comments?post=434"}],"version-history":[{"count":28,"href":"https:\/\/razvanvancea.ro\/blog\/wp-json\/wp\/v2\/posts\/434\/revisions"}],"predecessor-version":[{"id":870,"href":"https:\/\/razvanvancea.ro\/blog\/wp-json\/wp\/v2\/posts\/434\/revisions\/870"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/razvanvancea.ro\/blog\/wp-json\/wp\/v2\/media\/476"}],"wp:attachment":[{"href":"https:\/\/razvanvancea.ro\/blog\/wp-json\/wp\/v2\/media?parent=434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/razvanvancea.ro\/blog\/wp-json\/wp\/v2\/categories?post=434"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/razvanvancea.ro\/blog\/wp-json\/wp\/v2\/tags?post=434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}