HongPong / broken-link-checker

This plugin will check your posts, comments and other content for broken links and missing images, and notify you if any are found. (non-commercial community fork of broken-link-checker)
10 stars 4 forks source link

amazon affiliate link problem #27

Open HongPong opened 5 years ago

HongPong commented 5 years ago

"If you have Amazon affiliate links, it will keep showing them as forbidden ones no matter how many times you click to ignore"

via gooma2 here https://wordpress.org/support/topic/request-to-transfer-ownership-of-broken-link-checker/

Jan-littlehouseonthecorner commented 4 years ago

I have the same issue... 503 error detected, but the link is not broken.

BajaBarry commented 4 years ago

How about an option to ignore 503s?

sunflowermom commented 4 years ago

Over a year later and I am having huge lists of amazon broken links on every one of my websites every.single.day. Is this still not fixed then?

BajaBarry commented 4 years ago

I made a change to line 120 of modules/checkers/http.php $good_code = ( ( $http_code >= 200 ) && ( $http_code < 400 ) ) || ( 401 === $http_code ) || (503 === $http_code);
return ! $good_code;

And had to re-do it after the latest plugin update.

HongPong commented 4 years ago

they handed the original plugin over to another team. i can't commit to setting up pull requests here but if anyone adds them from the main branch i will pull.

On Tue, Apr 7, 2020, 3:05 PM BajaBarry notifications@github.com wrote:

I made a change to line 120 of modules/checkers/http.php $good_code = ( ( $http_code >= 200 ) && ( $http_code < 400 ) ) || ( 401 === $http_code ) || (503 === $http_code); return ! $good_code;

And had to re-do it after the latest plugin update.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/HongPong/broken-link-checker/issues/27#issuecomment-610566476, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA3225BQXOTLHMLN5MYZ2DRLN2OJANCNFSM4G4PW53A .

sunflowermom commented 4 years ago

Nevermind. I found a post that said to exclude Amazon links from the checker.

anandslab commented 3 years ago

@sunflowermom it would be helpful to me and others if you shared the link to the fix.

sunflowermom commented 3 years ago

https://wordpress.org/support/topic/503-service-unavailable-amazon-affiliate-links/

sunflowermom commented 3 years ago

But it is a temporary fix. Hopefully, they will eventually solve the actual problem.