Check 44.02 · Redesign and migration

Export URLs and metadata

Build the inventory of URLs and their metadata before the redesign: columns, exports from the crawler, WordPress, Shopify or PrestaShop, and checks.

Priority
Critical
Difficulty
Intermediate
Estimated time
2 h to 1 day
Free, no account: your progress is saved in this browser.

Ask an AI to check this point on your site

Opens the assistant with a ready-made question: this check, its goal and your site URL.

For Gemini, Copilot or another assistant, copy the question. The link opens the chosen service directly: nothing goes through this site.

In short

This task turns the reference crawl and the CMS (content management system) exports into a single inventory: one row per URL, with its HTTP status, its indexability, its canonical, its title, its meta description, its H1, its hreflang annotations, its structured data and its internal identifiers. Once it is done, every old URL has an ID card you can look up, on which the redirect map and the content migration rely.

Why it matters

A redesign replaces the templates, often the CMS, sometimes the URL structure. Titles, descriptions and H1s written page by page are then regenerated by default, or lost during the import. Search engines suddenly see a change in the signals they associated with each page: the text of the blue link in the results, the main heading, the language tags, the Schema.org markup.

That is not necessarily a problem if the new elements are better. It is one when nobody knows what was there before: there is no way to restore a title that generated lots of clicks, check that a canonical has not been reversed, or find a product's identifier to match the old URL with the new one.

The crawl gives what crawlers see; the CMS gives what the crawl does not see: internal identifier, content type, publication date, author, unpublished or orphan pages, redirects already declared. The two complement each other.

What it improves

How to check

The inventory is complete when:

  1. Every URL from the reference crawl and from the list of known URLs appears in it, with no duplicates.
  2. URLs are written in a single form: consistent protocol, host and trailing slash.
  3. Every HTML URL returning 200 has its title, indexability and canonical filled in (an empty value is information, provided it is genuinely empty).
  4. Pages coming from the CMS have their internal identifier and content type.
  5. Existing redirects are in a dedicated tab.

Check 1 is done with a formula (step 5).

How to implement

Step 1 — Choose the columns

Create a workbook inventaire-refonte with a URL tab. Minimum columns:

Column Source Example
URL Crawl https://example.com/thes/the-vert/sencha-bio/
HTTP status code Crawl 200
Indexable Crawl Yes
Non-indexable reason Crawl noindex, canonicalized to another URL…
Canonical Crawl https://example.com/thes/the-vert/sencha-bio/
Title Crawl Organic loose-leaf sencha, green tea from Japan
Meta description Crawl Organic sencha grown in Shizuoka…
H1 Crawl Organic sencha
Meta robots Crawl index, follow
hreflang Crawl fr, en, x-default
Schema.org types Crawl Product, BreadcrumbList
Depth Crawl 3
Internal inlinks Crawl 42
Content type CMS Product
Internal ID CMS 1187
Modified date CMS 2026-09-14

Depending on the site, add: Open Graph image, declared language (lang), word count, publication date, author, main category, product reference (SKU), stock status.

Step 2 — Export from the crawler

With Screaming Frog

Open the reference crawl (see crawl the site before the redesign (opens in a new tab)), then:

  • Internal tab, HTML filter, Export button: one row per URL with status code, indexability, title, meta description, H1, meta robots, canonical, depth and inlinks.
  • Bulk Export > Structured Data: the Schema.org types and properties detected.
  • Hreflang tab, Export: the annotations per URL.
  • Bulk Export > Links > All Inlinks: all internal links with their anchor text, to keep separately for internal linking.

For data the crawler does not extract by default, use custom extraction (Configuration > Custom > Custom Extraction) with XPath, then run the crawl again in List mode on the URLs concerned:

Open Graph image       //meta[@property='og:image']/@content
Modified date          //meta[@property='article:modified_time']/@content
Product reference      //*[@itemprop='sku']
Breadcrumb             //nav[@aria-label='breadcrumb']//a

Adapt the expressions to your HTML: open the source code of a typical page and copy the actual selector.

With another crawler

Sitebulb, Oncrawl, Botify and the site audits of Semrush, Ahrefs or SE Ranking all export a table per URL with these columns as CSV. Check that the export covers every URL and not just those with an issue: many tools export the filtered view on screen by default.

Step 3 — Export from the CMS

The CMS provides the identifiers and content that the crawl does not see. On other platforms, look for a CSV export of the content or a read-only query on the database.

WordPress

Versions WordPress 6.x with WP-CLI 2.x.

List of published content with its identifier, type and URL:

wp post list --post_type=any --post_status=publish \
  --fields=ID,post_type,post_name,post_title,post_date,post_modified,url \
  --format=csv > wordpress-contenus.csv

Titles and descriptions entered in the SEO plugin are stored in the metadata table. Query for Yoast SEO, to run with wp db query or in phpMyAdmin (replace the wp_ prefix with the one used by your installation):

SELECT p.ID, p.post_type, p.post_name,
  MAX(CASE WHEN m.meta_key = '_yoast_wpseo_title' THEN m.meta_value END) AS seo_title,
  MAX(CASE WHEN m.meta_key = '_yoast_wpseo_metadesc' THEN m.meta_value END) AS seo_description,
  MAX(CASE WHEN m.meta_key = '_yoast_wpseo_canonical' THEN m.meta_value END) AS seo_canonical,
  MAX(CASE WHEN m.meta_key = '_yoast_wpseo_meta-robots-noindex' THEN m.meta_value END) AS seo_noindex
FROM wp_posts p
LEFT JOIN wp_postmeta m ON m.post_id = p.ID
WHERE p.post_status = 'publish'
  AND p.post_type IN ('post', 'page', 'product')
GROUP BY p.ID, p.post_type, p.post_name;

For Rank Math, replace the keys with rank_math_title, rank_math_description, rank_math_canonical_url and rank_math_robots. An empty value means the plugin's default template applies: the rendered title, recorded by the crawl, is the one that counts.

Also export the existing redirects. With the Redirection plugin: Tools > Redirection > Import/Export, export in CSV format.

Shopify

Versions Shopify admin, all plans, November 2026.

  • Products: Products > Export, all products, CSV format. The file contains the handle (the end of the URL), the title and the SEO Title and SEO Description columns. These last two are only filled in if they have been customized; otherwise Shopify generates them from the title and description.
  • Redirects: Content > Menus > URL redirects > Export. Keep this file: the old redirects will have to be kept or updated.
  • Pages, blog posts and collections: no complete native CSV export. Get their URLs from the sitemap (https://example.com/sitemap.xml and its child sitemaps) and their metadata from the crawl.

PrestaShop

Versions PrestaShop 8 and 9.

The SQL Manager (Advanced Parameters > Database > SQL Manager) runs read queries and exports the result as CSV. Query for active products, all languages:

SELECT p.id_product, l.iso_code, pl.link_rewrite, pl.name,
       pl.meta_title, pl.meta_description, p.reference
FROM ps_product p
JOIN ps_product_lang pl ON pl.id_product = p.id_product AND pl.id_shop = 1
JOIN ps_lang l ON l.id_lang = pl.id_lang
WHERE p.active = 1;

Adapt the ps_ prefix and the shop identifier. Do the same for categories (ps_category_lang) and CMS pages (ps_cms_lang).

Step 4 — Get the URLs from the sitemaps

Sitemaps are the fastest free source for checking that no URL is missing. This Python script lists every URL in a sitemap, sitemap indexes included:

import urllib.request
import xml.etree.ElementTree as ET

NS = {"sm": "http://www.sitemaps.org/schemas/sitemap/0.9"}

def urls(sitemap_url):
    with urllib.request.urlopen(sitemap_url) as response:
        root = ET.fromstring(response.read())
    for loc in root.findall("sm:sitemap/sm:loc", NS):
        yield from urls(loc.text.strip())
    for loc in root.findall("sm:url/sm:loc", NS):
        yield loc.text.strip()

with open("urls-sitemaps.txt", "w") as output:
    for url in urls("https://example.com/sitemap.xml"):
        output.write(url + "\n")

It does not handle sitemaps compressed as .gz: decompress them first.

Step 5 — Merge and check

Paste each source into its own tab (Crawl, CMS, Sitemaps), with the URL in column A. First normalize the URLs in a helper column, here for Google Sheets:

=LOWER(REGEXREPLACE(REGEXREPLACE(A2,"[?#].*$",""),"^http://","https://"))

Only convert to lowercase if your server treats URLs as case-insensitive; otherwise remove LOWER.

Checks in the URL tab (columns in the order of the table in step 1: URL in A, canonical in E, title in F; CMS tab with the URL in A, the type in B and the identifier in C):

Sitemap URL missing from the crawl (in the Sitemaps tab):
=IF(COUNTIF(Crawl!$A:$A,A2)=0,"Missing from crawl","")

Duplicate title:
=IF(COUNTIF($F$2:$F,F2)>1,"Duplicate","")

Canonical pointing to another URL:
=IF(AND(E2<>"",E2<>A2),"External canonical","")

CMS identifier pulled in for each URL:
=IFERROR(VLOOKUP(A2,CMS!$A:$C,3,FALSE),"Outside CMS")

In French-language Excel: SI, NB.SI, ET, RECHERCHEV, SIERREUR, MINUSCULE, and FAUX instead of FALSE. Normalizing with a regular expression is simpler in Google Sheets.

A sitemap URL missing from the crawl is probably an orphan: check it; it must appear in the inventory and in the redirect map.

Good to know: some of this metadata will be carried over as is to the new site. Add a “Decision” column (Keep, Rewrite, Drop) that you will fill in when you identify the strategic pages to preserve (opens in a new tab).

Common mistakes

  • Exporting only from the CMS: the titles displayed often come from the template rather than from the fields entered, and generated pages (filters, tags, archives) do not exist as content.
  • Exporting only from the crawl: internal identifiers are missing and matching old and new URLs becomes manual work.
  • Mixing URL forms across tabs: with or without a trailing slash, http and https, path only or full URL. The matching formulas then report URLs as missing when they are not.
  • Forgetting existing redirects: they form chains as soon as the new redirect is added on top of the old one. See create a comprehensive redirect map (opens in a new tab).
  • Settling for a partial export: the tool's filtered view, the free crawler's limit, export pagination not followed.
  • Ignoring language versions: on a multilingual site, each language has its own URLs and metadata, and its hreflang annotations must be recorded.

Frequently asked questions

Which metadata should I export before a site redesign?

Before a redesign, export for each URL the HTTP status code, indexability, canonical, title, meta description, H1, meta robots, hreflang annotations, structured data types, depth and number of internal inlinks. Add from the CMS the internal identifier, the content type and the dates. These columns are enough to carry the metadata over and build the redirect map.

How do I export titles and meta descriptions from WordPress?

Custom WordPress titles and meta descriptions are stored by the SEO plugin in the post metadata table: _yoast_wpseo_title and _yoast_wpseo_metadesc for Yoast SEO, rank_math_title and rank_math_description for Rank Math. An SQL query or WP-CLI exports them. An empty field means the default template applies: the crawl then gives the value actually displayed.

Can I export the SEO metadata of a Shopify store?

Yes for products: Shopify's CSV export contains the handle and the SEO Title and SEO Description columns, filled in only if they have been customized. URL redirects can also be exported as CSV. For pages, blog posts and collections, there is no equivalent native export: get their URLs from the sitemap and their metadata from a crawl of the site.

Updated on

Topic checklist (PDF)

And now?

In the “Redesign and migration” topic

  1. Crawl the site before the redesign
  2. Export URLs and metadata
  3. Export Search Console and analytics data
  4. Export backlinks
  5. Identify revenue-generating pages
  6. Identify pages cited by AI systems
  7. Identify strategic pages to preserve
  8. Keep high-performing URLs if possible
  9. Create a comprehensive redirect map
  10. Map old URLs to relevant equivalents
  11. Preserve strategic content and internal links
  12. Preserve structured data, entity identifiers and important anchors
  13. Protect and audit the staging site
  14. Test performance before launch
  15. Test redirects
  16. Check canonicals, hreflang, sitemaps and robots.txt
  17. Remove indexing blocks on the live site
  18. Check tracking
  19. Submit new sitemaps
  20. Use Google's Change of Address tool if applicable
  21. Crawl the site after launch
  22. Monitor critical errors daily
  23. Monitor rankings, traffic and AI citations
  24. Keep redirects for at least a year, ideally longer
  25. Prepare a rollback plan