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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user