broken link checker tool step one
broken link checker tool step two

function getStatusCode(url){

   var options = {

     ‘muteHttpExceptions’: true,

     ‘followRedirects’: false

   };

   var url_trimmed = url.trim();

   var response = UrlFetchApp.fetch(url_trimmed, options);

   return response.getResponseCode();

}

broken link checker tool step three
broken link checker tool step five
broken link checker tool step six

Related Blog Topics


Discover more from TheSEOGuy

Subscribe to get the latest posts sent to your email.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© 2018-2026 copyright all right reserved.

Best SEO agency in Delhi NCR you can Trust!

Discover more from TheSEOGuy

Subscribe now to keep reading and get access to the full archive.

Continue reading