# Export URLs and metadata

- Check 44.02 · Redesign and migration · Critical
- Source: https://checklist-seo-geo.com/en/redesign-migration/export-urls-metadata
- Build the inventory of URLs and their metadata before the redesign: columns, exports from the crawler, WordPress, Shopify or PrestaShop, and checks.
- Updated on 2026-11-25
- Licence: CC BY 4.0. Credit “Checklist SEO & GEO” with a link to https://checklist-seo-geo.com/en/redesign-migration/export-urls-metadata.
- Plugin checklist-seo-geo: 1.3.1 · https://github.com/maximegaul/checklist-seo-geo

## 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

- **Redirect map**: the internal identifier (product ID, article ID, reference) makes it possible to match old and new URLs automatically. See [map old URLs to relevant equivalents](https://checklist-seo-geo.com/en/redesign-migration/map-old-urls-relevant-equivalents).
- **Metadata carry-over**: titles and descriptions that work can be imported as they are into the new CMS.
- **Acceptance testing**: the same table, filled in from staging, shows what has changed. See [check canonicals, hreflang, sitemaps and robots.txt](https://checklist-seo-geo.com/en/redesign-migration/check-canonicals-hreflang-sitemaps-robotstxt).
- **Structured data and entities**: the list of Schema.org types per URL is used to [preserve schemas, entity identifiers and important anchors](https://checklist-seo-geo.com/en/redesign-migration/preserve-structured-data-entity-identifiers-important-anchors).
- **Rankings**: indirect effect. It is the carry-over decisions that protect rankings, not the export itself.

## 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](https://checklist-seo-geo.com/en/redesign-migration/crawl-site-before-redesign)), 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:

```txt
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:

```bash
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):

```sql
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:

```sql
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:

```python
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:

```txt
=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):

```txt
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](https://checklist-seo-geo.com/en/redesign-migration/identify-strategic-pages-preserve).

## 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](https://checklist-seo-geo.com/en/redesign-migration/create-comprehensive-redirect-map).
- **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.

## Resources

- [Google Search Central: Site moves with URL changes](https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes?hl=en)
- [Google Search Central: Influencing your title links in search results](https://developers.google.com/search/docs/appearance/title-link?hl=en)
- [WP-CLI: wp post list command](https://developer.wordpress.org/cli/commands/post/list/)
- [Shopify Help Center: Exporting products](https://help.shopify.com/en/manual/products/import-export/export-products)
- [Shopify Help Center: URL redirects](https://help.shopify.com/en/manual/online-store/menus-and-links/url-redirect)
- [Screaming Frog: custom extraction](https://www.screamingfrog.co.uk/seo-spider/user-guide/configuration/)
- [sitemaps.org: Sitemap protocol](https://www.sitemaps.org/protocol.html)

Next steps: [export Search Console and analytics data](https://checklist-seo-geo.com/en/redesign-migration/export-search-console-analytics-data) and [export backlinks](https://checklist-seo-geo.com/en/redesign-migration/export-backlinks).
