2017 © Pedro Peláez
 

wordpress-plugin broken-link-detector

Detects and fixes (if possible) broken links in post_content

image

helsingborg-stad/broken-link-detector

Detects and fixes (if possible) broken links in post_content

  • Monday, March 5, 2018
  • by sebastianthulin
  • Repository
  • 6 Watchers
  • 0 Stars
  • 145 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 20 Versions
  • 7 % Grown

The README.md

Broken Link Detector

Detects and fixes (if possible) broken links in post_content., (*1)

Enable log mode

Define the constant BROKEN_LINKS_LOG to true to enable extended logging. This will write curl messages and errors to the default logfile., (*2)

Bypass for domains

You can bypass checks (automatically consider valid) by adding domains to the 'brokenLinks/External/ExceptedDomains' filter. The filter requires that you provide your domains in the same format as parse_url($url, PHP_URL_HOST) returns. It's therefore recommended that you filter all your domains trough this function., (*3)

add_filter('brokenLinks/External/ExceptedDomains',function($array) {
    return array(
        parse_url("http://agresso/agresso/", PHP_URL_HOST),
        parse_url("http://qlikviewserver/qlikview/index.htm", PHP_URL_HOST),
        parse_url("http://serviceportalen/", PHP_URL_HOST),
        parse_url("http://a002163:81/login/login.asp", PHP_URL_HOST),
        parse_url("http://serviceportalen/Default.aspx", PHP_URL_HOST),
        parse_url("http://cmg/BluStarWeb/Start", PHP_URL_HOST),
        parse_url("http://surveyreport/admin", PHP_URL_HOST),
        parse_url("http://klarspraket/", PHP_URL_HOST),
        parse_url("http://guideochtips/", PHP_URL_HOST),
        parse_url("http://hbgquiz/index.php/category/?id=3", PHP_URL_HOST),
        parse_url("http://agresso/agresso/", PHP_URL_HOST),
        parse_url("http://a002490/efact/", PHP_URL_HOST),
        parse_url("http://a002064/Kurser/", PHP_URL_HOST),
        parse_url("http://a002064/kursbokning/", PHP_URL_HOST)
    ); 
}, 10);

The Versions

05/03 2018

dev-master

9999999-dev

Detects and fixes (if possible) broken links in post_content

  Sources   Download

MIT

by Kristoffer Svanmark

05/03 2018

1.1.7

1.1.7.0

Detects and fixes (if possible) broken links in post_content

  Sources   Download

MIT

by Kristoffer Svanmark

05/03 2018

dev-develop

dev-develop

Detects and fixes (if possible) broken links in post_content

  Sources   Download

MIT

by Kristoffer Svanmark

05/03 2018

1.1.6

1.1.6.0

Detects and fixes (if possible) broken links in post_content

  Sources   Download

MIT

by Kristoffer Svanmark

20/12 2017

1.1.5

1.1.5.0

Detects and fixes (if possible) broken links in post_content

  Sources   Download

MIT

by Kristoffer Svanmark

29/09 2017

1.1.4

1.1.4.0

Detects and fixes (if possible) broken links in post_content

  Sources   Download

MIT

by Kristoffer Svanmark

03/01 2017

1.1.3

1.1.3.0

Detects and fixes (if possible) broken links in post_content

  Sources   Download

MIT

by Kristoffer Svanmark

12/12 2016

1.1.2

1.1.2.0

Detects and fixes (if possible) broken links in post_content

  Sources   Download

MIT

by Kristoffer Svanmark

07/12 2016

1.1.1

1.1.1.0

Detects and fixes (if possible) broken links in post_content

  Sources   Download

MIT

by Kristoffer Svanmark

27/10 2016

1.1.0

1.1.0.0

Detects and fixes (if possible) broken links in post_content

  Sources   Download

MIT

by Kristoffer Svanmark

27/10 2016

1.0.9

1.0.9.0

Detects and fixes (if possible) broken links in post_content

  Sources   Download

MIT

by Kristoffer Svanmark

14/10 2016

1.0.8

1.0.8.0

Detects and fixes (if possible) broken links in post_content

  Sources   Download

MIT

by Kristoffer Svanmark

07/10 2016

1.0.7

1.0.7.0

Detects and fixes (if possible) broken links in post_content

  Sources   Download

MIT

by Kristoffer Svanmark

20/09 2016

1.0.6

1.0.6.0

Detects and fixes (if possible) broken links in post_content

  Sources   Download

MIT

by Kristoffer Svanmark

07/09 2016

1.0.5

1.0.5.0

Detects and fixes (if possible) broken links in post_content

  Sources   Download

MIT

by Kristoffer Svanmark

07/09 2016

1.0.4

1.0.4.0

Detects and fixes (if possible) broken links in post_content

  Sources   Download

MIT

by Kristoffer Svanmark

07/09 2016

1.0.3

1.0.3.0

Detects and fixes (if possible) broken links in post_content

  Sources   Download

MIT

by Kristoffer Svanmark

06/09 2016

1.0.2

1.0.2.0

Detects and fixes (if possible) broken links in post_content

  Sources   Download

MIT

by Kristoffer Svanmark

27/06 2016

1.0.1

1.0.1.0

Detects and fixes (if possible) broken links in post_content

  Sources   Download

MIT

by Kristoffer Svanmark

21/06 2016

1.0.0

1.0.0.0

Detects and fixes (if possible) broken links in post_content

  Sources   Download

MIT

by Kristoffer Svanmark