Skip to main content

Max URL Length

All URLs that exceed the maximum URL length specified in Advanced settings > Report settings (default: 1024 characters).

Priority: Critical

Impact: Negative

What issues it may cause

URLs exceeding 1024 characters may not work in older web browsers and are less usable which may reduce sharing.

How do you fix it

The URL format should be reviewed and a shorter more descriptive format designed. The old URLs should be redirected to the new URL format, and any internal links or sitemap references updated.

What is the positive impact

URLs will work in all browsers and are more likely to be shared.

How to fetch the data for this report template

You will need to run a crawl for report template to generate report. When report has been generated and you have crawl id you can fetch data for the report using the following query:

query GetReportStatForCrawl(
$crawlId: ObjectID!
$reportTemplateCode: String!
$after: String
) {
getReportStat(
input: {crawlId: $crawlId, reportTemplateCode: $reportTemplateCode}
) {
crawlUrls(after: $after, reportType: Basic) {
nodes {
pageTitle
url
description
foundAtUrl
urlLength
deeprank
level
foundInGoogleAnalytics
foundInGoogleSearchConsole
foundInBacklinks
foundInList
foundInLogSummary
foundInWebCrawl
foundInSitemap
}
totalCount
pageInfo {
endCursor
hasNextPage
}
}
}
}

Try in explorer