Website Migration SEO Validation
Compare crawl and indexing signals before and after a migration
Compare crawl and indexing signals before and after a migration. Use the API workflow below to collect dated findings, review their scope, and decide which follow-up checks your team needs.
Implementation example by the EdgeDNS team · Updated
The Challenge
Redirect, canonical, robots, and sitemap changes can make migrated URLs harder to discover or index.
The Solution
Check redirects, canonical tags, metadata, robots rules, and sitemaps on representative public URLs before and after a migration. Keep your own before-and-after snapshots and validate sampled URLs. These checks do not crawl every URL or guarantee ranking preservation.
Endpoints Used
Combine these EdgeDNS endpoints to build this solution.
/v1/domain/canonicalAPI referenceCanonical URL: Find canonical and hreflang URLs
/v1/domain/metaAPI referenceMeta Tags: Extract SEO and social meta tags
/v1/domain/sitemapAPI referenceSitemap: Find and analyze XML sitemaps
/v1/domain/robotsAPI referenceRobots.txt: Parse robots.txt rules and sitemaps
/v1/domain/redirectAPI referenceRedirect Chain: Trace HTTP redirect chain
/v1/domain/response-timeAPI referenceResponse Time: Measure server response latency
What this workflow helps you do
Check representative URL mappings
Review redirect destinations and canonical signals.
Review crawler access
Inspect applicable robots rules and indexing directives.
Save migration evidence
Compare dated outputs and follow up in search-engine webmaster tools.
Code Example
Compare crawl and indexing signals before and after a migration
const headers = { Authorization: 'Bearer YOUR_API_KEY' };
const checks = [
{
"path": "/v1/domain/canonical",
"params": {
"domain": "https://example.com"
}
},
{
"path": "/v1/domain/meta",
"params": {
"domain": "https://example.com"
}
},
{
"path": "/v1/domain/sitemap",
"params": {
"domain": "https://example.com"
}
}
];
// Run sequentially to keep concurrency bounded. API tier restrictions apply.
for (const { path, params } of checks) {
const url = new URL(path, 'https://api.edgedns.dev');
url.search = new URLSearchParams(params).toString();
const response = await fetch(url, { headers });
const result = await response.json();
if (!response.ok) {
throw new Error(`${path}: ${response.status} ${result.error?.message ?? 'Request failed'}`);
}
// Keep the response metadata and any partial/unknown findings for review.
console.log(path, result);
}Learn More
Explore industry standards and best practices related to this use case.
Ready to build Website Migration SEO Validation?
Get started with 200 free API requests per month. No credit card required.
Other Use Cases
Technical SEO Audit & Optimization
Prioritize technical SEO findings on representative public pages
Frontend Developer / Performance EngineerWebsite Speed & Performance Optimization
Review delivery configuration and observed website performance
Technical SEO Lead / Content Platform EngineerAI Crawler & Search Access Review
Review crawler-specific robots rules alongside search-readiness signals