- Type:
Record<string, string>
Keys must match hostnames exactly.
You canβt use wildcards.
{ "dev.example.com": "example.com" }
,
https://dev.example.com/solutions/voice-search
becomes https://example.com/solutions/voice-search
.
The crawler extracts records from the rewritten URL and continues from there, not the original.
The mapping doesnβt apply to URLs listed in configuration variables, such as:
The mapping also doesnβt apply to the content extracted from a page.
For example, if you extract text that includes the hostname to be replaced,
the original text is extracted.
Examples
JavaScript