Skip to content

Configuration

AEOrank can be configured via an aeorank.config.js file. Create one with aeorank init or write it manually.

/** @type {import('@aeorank/core').AeorankConfig} */
export default {
site: {
url: "https://example.com",
name: "Example Site",
description: "A description of what your site does",
},
output: {
dir: "./aeo-output",
},
scanner: {
maxPages: 50,
concurrency: 3,
timeout: 30000,
userAgent: "AEOrank/1.0 (+https://aeorank.dev)",
respectCrawlDelay: true,
},
};
PropertyTypeDefaultDescription
urlstringYour site’s URL (used for generated files)
namestringDetected from siteYour site’s name
descriptionstringDetected from siteBrief description
PropertyTypeDefaultDescription
dirstring"./aeo-output"Directory for generated files
PropertyTypeDefaultDescription
maxPagesnumber50Maximum pages to crawl
concurrencynumber3Concurrent requests (be respectful)
timeoutnumber30000Request timeout in milliseconds
userAgentstring"AEOrank/1.0 (+https://aeorank.dev)"User-Agent header
respectCrawlDelaybooleantrueHonor robots.txt Crawl-delay

Settings are resolved in this order (later overrides earlier):

  1. Built-in defaults — sensible values for most sites
  2. Config fileaeorank.config.js in the current directory
  3. CLI flags--max-pages, --timeout, etc.

CLI flags always win. This lets you override config for one-off scans:

Terminal window
# Use config defaults but scan only 10 pages this time
aeorank scan https://example.com --max-pages 10