@@ -31,10 +31,17 @@ timeout = 10
3131retry_wait_time = 1
3232
3333# Accept more status codes (follow redirects automatically)
34- accept = [" 200..=204" , " 301..=308" , " 429" , " 502" , " 522" ]
34+ # Note: 522 and 502 are server errors, not broken links
35+ accept = [
36+ " 200..=204" ,
37+ " 301..=308" ,
38+ " 429" ,
39+ " 502" , # Bad Gateway
40+ " 522" # Connection timed out (Cloudflare)
41+ ]
3542
36- # Avoid false fragment errors
37- include_fragments = false
43+ # Don't check fragments/anchors - they cause false positives
44+ include_fragments = false
3845
3946# Only test links with the given schemes (e.g. https and http)
4047scheme = [" https" , " http" ]
@@ -53,14 +60,20 @@ exclude = [
5360 ' ^https?://localhost' ,
5461 ' ^https?://127\\.0\\.0\\.1' ,
5562 ' ^https://www\\.linkedin\\.com' ,
56- # Exclude all issues.umbraco.org links (they're unreliable)
57- ' issues\\.umbraco\\.org' ,
63+
64+ # Exclude all issues.umbraco.org - unreliable and often returns 522
65+ ' http://issues\\.umbraco\\.org' ,
66+ ' https://issues\\.umbraco\\.org' ,
67+
5868 # Exclude umbraco.com blog posts that return errors
59- ' umbraco\\.com/blog/' ,
69+ ' https://umbraco\\.com/blog/' ,
70+
6071 # Exclude web archive links
6172 ' web\\.archive\\.org/web/' ,
62- # Exclude anchor links to version-specific sections (e.g., #umbraco-14)
63- ' #umbraco-[0-9]+' ,
73+
74+ # Exclude internal links with version anchors
75+ ' version-specific#umbraco-' ,
76+ ' README\\.md#umbraco-[0-9]' ,
6477]
6578
6679# Exclude these filesystem paths from getting checked.
0 commit comments