Skip to main content
  • Type: Record<string, Record<string, string>>
Sometimes URLs are found through multiple names or are accessible from a different entrypoint depending on the environment. The pathAliases setting transforms a path to a different path before crawling it. For example, if you create a mapping for { "dev.example.com": { '/foo': '/bar' } }, and the crawler encounters https://dev.example.com/foo/hello/, it’s transformed to https://dev.example.com/bar/hello/. See hostnameAliases to check conditions.

Examples

JavaScript
{
  pathAliases: {
    'dev.example.com': {
      '/foo': '/bar'
    }
  }
}
⌘I