• Resolved Matt

    (@syntax53)


    I frequently get notified about broken links for pages that don’t exist anymore. Even ones I have since purged from trash as well. I deleted a number of pages about a week ago and today I got a notification about 20 broken links from links within those pages.

    The “post status” option is set to “published” only.

    • This topic was modified 7 years, 2 months ago by Matt.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Matt

    (@syntax53)

    So, figuring I should try to give you more info. I turned on logging and initiated a “re-check” all links. It’s still progressing, but already found a broken link referring to a page that no longer exists. Here are the relevant logs I found–

    'INSERT INTO asdwp_blc_links( url, first_failure, last_check, last_success, last_check_attempt, check_count, final_url, redirect_count, log, http_code, request_duration, timeout, result_hash, broken, warning, false_positive, may_recheck, being_checked, status_text, status_code, dismissed ) VALUES( \'http://www.abington.k12.pa.us/board-of-directors/meeting-information/meeting-summaries-and-videos/2014-2015/\', \'0000-00-00 00:00:00\', \'0000-00-00 00:00:00\', \'0000-00-00 00:00:00\', \'0000-00-00 00:00:00\', 0, \'\', 0, \'\', 0, 0.000000, 0, \'\', 0, 0, 0, 1, 0, \'\', \'\', 0 )'

    [2017-07-22 14:11:05 +00:00] DEBUG: blcLink:save Updating a link. SQL query:
     'UPDATE asdwp_blc_links SET url = \'http://www.abington.k12.pa.us/board-of-directors/meeting-information/meeting-summaries-and-videos/2014-2015/\', first_failure = \'0000-00-00 00:00:00\', last_check = \'0000-00-00 00:00:00\', last_success = \'0000-00-00 00:00:00\', last_check_attempt = \'2017-07-22 14:11:05\', check_count = 1, final_url = \'\', redirect_count = 0, log = \'\', http_code = 0, request_duration = 0.000000, timeout = 0, result_hash = \'\', broken = 0, warning = 0, false_positive = 0, may_recheck = 1, being_checked = 1, status_text = \'\', status_code = \'\', dismissed = 0 WHERE link_id=167'
    [2017-07-22 14:11:05 +00:00] DEBUG: blcLink:save Link updated.
    [2017-07-22 14:11:10 +00:00] DEBUG: HTTP module checking "http://www.abington.k12.pa.us/board-of-directors/meeting-information/meeting-summaries-and-videos/2014-2015/"
    [2017-07-22 14:11:10 +00:00] INFO: blcCurlHttp Checking link 'http://www.abington.k12.pa.us/board-of-directors/meeting-information/meeting-summaries-and-videos/2014-2015/'
    [2017-07-22 14:11:10 +00:00] DEBUG: blcCurlHttp Clean URL: 'http://www.abington.k12.pa.us/board-of-directors/meeting-information/meeting-summaries-and-videos/2014-2015/'
    [2017-07-22 14:11:10 +00:00] DEBUG: HTTP request took 0.406 seconds
    [2017-07-22 14:11:10 +00:00] INFO: HTTP response: 404, duration: 0.41 seconds, status text: "N/A"
    [2017-07-22 14:11:10 +00:00] INFO: blcCurlHttp Checking link 'http://www.abington.k12.pa.us/board-of-directors/meeting-information/meeting-summaries-and-videos/2014-2015/'
    [2017-07-22 14:11:10 +00:00] DEBUG: blcCurlHttp Clean URL: 'http://www.abington.k12.pa.us/board-of-directors/meeting-information/meeting-summaries-and-videos/2014-2015/'
    [2017-07-22 14:11:11 +00:00] DEBUG: HTTP request took 0.749 seconds
    [2017-07-22 14:11:11 +00:00] INFO: HTTP response: 404, duration: 0.75 seconds, status text: "N/A"
    [2017-07-22 14:11:11 +00:00] DEBUG: blcLink:save Updating a link. SQL query:
     'UPDATE asdwp_blc_links SET url = \'http://www.abington.k12.pa.us/board-of-directors/meeting-information/meeting-summaries-and-videos/2014-2015/\', first_failure = \'2017-07-22 14:11:05\', last_check = \'2017-07-22 14:11:05\', last_success = \'0000-00-00 00:00:00\', last_check_attempt = \'2017-07-22 14:11:05\', check_count = 1, final_url = \'http://www.abington.k12.pa.us/board-of-directors/meeting-information/meeting-summaries-and-videos/2014-2015/\', redirect_count = 0, log = \'=== HTTP code : 404 ===\\n\\nResponse headers\\n================\\nHTTP/1.1 404 Not Found\\r\\nCache-Control: no-cache, must-revalidate, max-age=0\\r\\nPragma: no-cache\\r\\nContent-Type: text/html; charset=UTF-8\\r\\nExpires: Wed, 11 Jan 1984 05:00:00 GMT\\r\\nServer: Microsoft-IIS/7.5\\r\\nSet-Cookie: PHPSESSID=dbjs0ntid3tss4rck21uer4cs7; path=/\\r\\nX-UA-Compatible: IE=edge,chrome=1\\r\\nX-Powered-By: W3 Total Cache/0.9.5.4\\r\\nLink: <http://www.abington.k12.pa.us/wp-json/>; rel=&quot;https://api.w.org/&quot;\\r\\nX-Powered-By: ASP.NET\\r\\nDate: Sat, 22 Jul 2017 14:11:10 GMT\\r\\nConnection: close\\r\\nContent-Length: 70801\\r\\n\\r\\nRequest headers\\n================\\nGET /board-of-directors/meeting-information/meeting-summaries-and-videos/2014-2015/ HTTP/1.1\\r\\nUser-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)\\r\\nHost: www.abington.k12.pa.us\\r\\nAccept: */*\\r\\nReferer: http://www.abington.k12.pa.us\\r\\nConnection: close\\r\\nRange: bytes=0-2048\\r\\n\\r\\nResponse HTML\\n================\\n<!DOCTYPE html> \\r\\n<html class=&quot;no-js&quot; lang=&quot;en-US&quot;\\n	itemscope \\n	itemtype=&quot;http://schema.org/WebSite&quot; \\n	prefix=&quot;og: http://ogp.me/ns#&quot; >\\r\\n\\r\\n<head>\\r\\n	<meta charset=&quot;UTF-8&quot;>\\r\\n	<script type=&quot;text/javascript&quot;>\\r\\n		WebFontConfig = {\\r\\n			  google: { families: [ \\\'Droid+Serif:400,700,400italic,700italic:latin\\\', \\\'Titillium+Web:400,300,600,300italic,400italic,600italic:latin\\\', \\\'Source+Sans+Pro:400,300,600,300italic,400italic,600italic:latin\\\', \\\'Lato:400,300,700,300italic,400italic,700italic:latin\\\', \\\'Raleway:400,300,600:latin\\\', \\\'Ubuntu:400,300,700,300italic,400italic,700italic:latin\\\', \\\'Roboto+Condensed:400,700,400italic,300italic,300,700italic:latin\\\', \\\'Roboto+Slab:400,700,300:latin\\\', \\\'Playfair+Display:400,400italic,700,700italic:latin\\\', \\\'Open+Sans:400,300,600,300italic,400italic,600italic:latin\\\', \\\'PT+Serif:400,700italic,400italic,700:latin\\\' ] }\\r\\n		};\\r\\n		(function() {\\r\\n			var wf = document.createElement(\\\'script\\\');\\r\\n			wf.src = (\\\'https:\\\' == document.location.protocol ? \\\'https\\\' : \\\'http\\\') + \\\'://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js\\\';\\r\\n			wf.type = \\\'text/javascript\\\';\\r\\n			wf.async = \\\'true\\\';\\r\\n			var s = document.getElementsByTagName(\\\'script\\\')[0];\\r\\n			s.parentNode.insertBefore(wf, s);\\r\\n		})();\\r\\n	</script>\\r\\n	<title>Nothing found for  Board Of Directors Meeting Information Meeting Summaries And Videos 2014 2015</title>\\n<script>document.documentElement.className = document.documentElement.className.replace(&quot;no-js&quot;,&quot;js&quot;);</script>\\n\\n<!-- All in One SEO Pack 2.3.14.2 by Michael Torbert of Semper Fi Web Design[1218,1272] -->\\n<!-- /all in one seo pack -->\\n<link rel=\\\'dns-prefetch\\\' href=\\\'//s.w.org\\\' />\\n<link rel=&quot;alternate&quot; type=&quot;application/rss+xml&quot; title=&quot;Abington School District &raquo; Feed&quot; href=&quot;http://www.abington.k12.pa.us/feed/&quot; />\\n<link rel=\\\'stylesheet\\\' id=\\\'font-awesome-css\\\'  href=\\\'http://www.abington.k12.pa.us/wp-content/plugins/asd-global/fonts/font-awesome/css/font-awesome.min.css?ver=3eef20d83fd587e0d4f7db3db9e42177\\\' type=\\\'text/css\\\' media=\\\'all\\\' />\\n<link rel=\\\'stylesheet\\\' id=\\\'asd-global-css\\\'  href=\\\'http://www.abington.k1\\nLink is broken.\', http_code = 404, request_duration = 0.749000, timeout = 0, result_hash = \'404|broken|0|http://www.abington.k12.pa.us/board-of-directors/meeting-information/meeting-summaries-and-videos/2014-2015/\', broken = 1, warning = 0, false_positive = 0, may_recheck = 1, being_checked = 0, status_text = \'\', status_code = \'\', dismissed = 0 WHERE link_id=167'
    [2017-07-22 14:11:11 +00:00] DEBUG: blcLink:save Link updated.
    Thread Starter Matt

    (@syntax53)

    Figured I should add some logging. I turned on the logging and then initiated a “recheck all links” and while it’s still going, it has already found a link referring to a deleted page. Here are the relevant logs that I see: https://pastebin.com/sE7RUm2C

    Thread Starter Matt

    (@syntax53)

    Sorry for the double post. First one wasn’t showing up till way later. Can’t delete it now.

    Thread Starter Matt

    (@syntax53)

    bueller?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Broken Links for Trashed Pages’ is closed to new replies.