fix: absolute paths on contact, managed-wordpress, care-plans clean URLs; scan covers all four (cockpit #163)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-23 07:19:30 +10:00
co-authored by Claude Sonnet 5.5
parent 06dfc71bc4
commit 68f5744851
4 changed files with 125 additions and 125 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ if [ -z "$SITEMAP_URLS" ]; then
fi
BROKEN_LINKS=""
# Clean URLs served by .htaccess rewrites: relative paths break here but not on the .html file
CLEAN_URLS="${SITE_URL}/pricing/ ${SITE_URL}/contact/"
CLEAN_URLS="${SITE_URL}/pricing/ ${SITE_URL}/contact/ ${SITE_URL}/managed-wordpress/ ${SITE_URL}/wordpress-care-plans/"
for url in $SITEMAP_URLS $CLEAN_URLS; do
REPORT+="$(check_url "$url" "$(basename "${url%/}")")\n"
html=$(curl -skL --connect-timeout 10 --max-time 20 "$url" 2>/dev/null || true)