From DanDomain or Wannafind to Shopify

A DanDomain shop has its own field names, URLs with numbers in them and its own export screen. This page sets out what DanDomain’s help pages said about that export on 20 November 2026, what cannot come across, and a Python script that builds Shopify’s redirect file from your own data.

Last checked:

Where to clickThree DanDomain URLs through the script
  • Content
    • Menus
  • Funktionalitet
  • Ordrer
  1. Content
  2. Menus
  3. URL redirects
  4. Import

Import

The honest part first

We have not moved a DanDomain shop to Shopify ourselves, and we do not run a Shopify store of our own. What you read here comes from DanDomain’s and Shopify’s help pages, which we went through today, from our work reading and cleaning shop data, and from a script we tested against made-up export files rather than a real shop. The code section says so too.

We do know DanDomain from another angle. Our own product danadresse ships one script with ready adapters for DanDomain/SmartWeb and for Shopify, among eleven platforms, so a single <script> tag finds the address fields on both sides of the move. It has not been tested on a live Shopify store.

The general recipe – GraphQL export, customer CSV and a Liquid snippet – lives on Migrate to Shopify. This page only covers what is specific to DanDomain.

Which DanDomain are you on?

The name covers more than one system. The current Dandomain Webshop has a help site with field descriptions, and that is the one we quote. The old admin is called DanDomain Classic; only third parties describe its export. Shoporama says products come out as four XML files (products, variant types, variant data, categories) and that images are not inside them. On a SmartWeb or Wannafind shop, open your admin and look for the Eksport menu and the fields listed below. We could not confirm on a page we were able to read that the three share one admin today, so we do not claim it.

What moves and what does not

Dandomain Webshop exports products and variants, categories, orders, discount codes, pages, customers and existing SEO redirects as CSV or XML. Not all of it has somewhere to land in Shopify.

DanDomain data and where it lands in Shopify

DataOut of DanDomainInto ShopifyNote
Products and variantsExport, CSV or XMLProduct CSVUp to three options per product
CategoriesExportCollectionsBuild them from tags holding the category name
ImagesPaths in the PICTURES fieldProduct image URLKeep the old shop online during import
CustomersExport (customer data fields)Customer CSVPasswords do not move
OrdersExport, CSV or XMLOnly via an app or the APIKeep the file as an archive
Pages and blogPage exportNo CSVCopy by hand or with an app
Gift cardsNot in the export listApp or GiftCard APICheck balances before you close
ReviewsNot in the export listDepends on the appAsk your review provider
SEO redirectsExportPart of the redirect filePoint straight at the new target
Dandomain Webshop help (export and data fields) and Shopify Help (CSV, customers, migration), checked 20.11.2026.

Passwords are the part customers notice. DanDomain’s customer export has a PASSWORD field, but the documentation calls it a blank field, and Shopify cannot import passwords from another store. With Shopify’s new customer accounts the customer signs in with a six-digit code sent by email, which takes most of the sting out. Orders cannot be imported back into DanDomain after export, and in Shopify they need an app or the API. Most shops keep the order file with their bookkeeping and start fresh.

The export, step by step

In Dandomain Webshop the export sits under Funktionalitet → Eksport: pick the data type and format, choose fields and an optional filter, then press Download. Orders come from Ordrer → Alle → Eksportér. Save your field choice as a template so you can pull a fresh file just before launch.

The help page does not say which separator or character encoding the file uses. If someone has opened and saved it in Danish Excel, expect semicolons and decimal commas – the very format we deliberately use for exports in our own product JaKonto. That is why the script below detects both instead of assuming them.

Count before you move. In a Danish workwear shop we maintain, 69 % of products had no description and 56 % of variant combinations were dead. That kind of data costs time in Shopify too, so clean it in the file you already have open.

The fields that decide your URLs

A DanDomain product URL carries both the category and the product ID, for example /shop/9-alt-til-hjemmet/16-eksklusiv-lounge-stol/, and a category looks like /shop/9-kategorinavn/. Field names carry a language suffix: TITLE_DK on a single site, TITLE_DK_1 when the shop runs several. Shopify has no numbers or categories in the path: products live under /products/<handle>, collections under /collections/<handle> and pages under /pages/<handle>.

DanDomain fields to Shopify columns

DanDomainShopifyNote
TITLE_DKTitleVariant rows hold variant names, e.g. fabric and colour
SEO_LINK_DKURL handleEmpty unless someone typed a manual link
SEO_TITLE_DKSEO titleMax 70 characters in Shopify
SEO_DESCRIPTION_DKSEO descriptionMax 320; empty in DanDomain unless filled
SEO_CANONICAL_DK(no column)Points at a product ID; merge into one product
NUMBERSKUThe product ID is not the item number
EANBarcodesPer variant
PICTURESProduct image URLOne row per image
URL(used only for the redirect)Category URLs cannot be changed by import
Dandomain Webshop: products and variants, product categories; Shopify Help: product CSV. Checked 20.11.2026.

Settle your handles once, before you import. We learned on wordpress.org that a name, once approved, cannot be changed afterwards. Shopify does let you rename a handle, but every rename is a new URL that needs its own redirect.

Recipe: the redirect file in Python

Shopify’s sample file has exactly two columns, Redirect from and Redirect to, with a path like /products/example-product as the target. The script reads DanDomain’s product, category and (optional) page exports, builds a handle from the SEO link or the title and writes two files: redirects.csv for Shopify and handles.csv, which you paste into the “URL handle” column so product and redirect always agree. Æ, ø and å become ae, oe and aa, because a Shopify handle may only hold letters, digits and hyphens.

#!/usr/bin/env python3
# Dandomain export -> redirects.csv (Shopify import) + handles.csv (for the "URL handle" column)
import csv, io, re, unicodedata
from pathlib import Path

LANG = "DK"   # language suffix from your export: "DK" on one site, "DK_1" on several
DANISH = str.maketrans({"æ": "ae", "ø": "oe", "å": "aa", "Æ": "ae", "Ø": "oe", "Å": "aa"})
used, seen, redirects, handles = set(), set(), [], []

def slugify(text):
    t = text.translate(DANISH).lower()
    t = unicodedata.normalize("NFKD", t).encode("ascii", "ignore").decode()  # é -> e, ü -> u
    return re.sub(r"[^a-z0-9]+", "-", t).strip("-")

def unique(handle):
    candidate, n = handle, 2
    while candidate in used:            # Shopify requires unique handles
        candidate, n = f"{handle}-{n}", n + 1
    used.add(candidate)
    return candidate

def read(name):
    raw = Path(name).read_bytes()
    try:
        text = raw.decode("utf-8-sig")
    except UnicodeDecodeError:
        text = raw.decode("cp1252")     # older export saved in Danish Excel
    dialect = csv.Sniffer().sniff(text[:4096], delimiters=";,\t")
    return csv.DictReader(io.StringIO(text), dialect=dialect)

def path_of(url):
    p = re.sub(r"^https?://[^/]+", "", (url or "").strip())
    return p if p.startswith("/") else "/" + p

def add(rows, prefix, key):
    for r in rows:
        old = path_of(r.get("URL"))
        if old == "/" or old in seen:   # variants share the product URL
            continue
        if "?" in old:
            print("check by hand (query string):", old)
            continue
        seen.add(old)
        name = r.get(f"SEO_LINK_{LANG}") or r.get(f"TITLE_{LANG}") or ""
        handle = unique(slugify(name) or slugify(old))
        redirects.append([old, f"/{prefix}/{handle}"])
        handles.append([prefix, r.get(key, ""), handle])

add(read("products.csv"), "products", "NUMBER")
add(read("categories.csv"), "collections", "CATEGORY_ID")
if Path("pages.csv").exists():
    add(read("pages.csv"), "pages", "URL")

for name, header, rows in (("redirects.csv", ["Redirect from", "Redirect to"], redirects),
                           ("handles.csv", ["type", "id", "handle"], handles)):
    with open(name, "w", encoding="utf-8", newline="") as f:
        w = csv.writer(f)
        w.writerow(header)
        w.writerows(rows)
print(len(redirects), "redirects,", len(handles), "handles")

We ran it against test files with semicolons and commas, UTF-8 and the Windows character set, two products with the same name and one URL with a query string. URLs containing ? are skipped and printed, because Shopify warns they “might not work as expected”. If your shop runs on Classic and the export has no URL field, take the old addresses from the shop’s sitemap or from Search Console and match them on item number.

Three DanDomain URLs through the script

The script uses the SEO link when there is one, otherwise the title. Two products with the same title get -2 on the second handle, and a category becomes a collection.

Old URLHandle taken fromNew URL
/shop/9-alt-til-hjemmet/16-eksklusiv-lounge-stol/SEO_LINK_DK: eksklusiv-lounge-stol/products/eksklusiv-lounge-stol
/shop/10-toej/18-bluse-saed/TITLE_DK: Bluse Sød Æblegrøn (second)/products/bluse-soed-aeblegroen-2
/shop/10-toej/TITLE_DK: Tøj og Å-mærker/collections/toej-og-aa-maerker
Test data in DanDomain’s URL format from its help page; not a real shop.

Import the file under Content → Menus → URL redirects → Import. Redirects only fire from URLs that return 404 in Shopify, and there is room for 100,000. Even our furniture-assembly site with 5,937 product pages would sit far below that. If DanDomain already holds SEO redirects, put them in the same file and point them straight at the new target, so Google does not have to follow two hops.

SEO checklist before and after launch

  1. 301, not 302. DanDomain’s own redirects can be 301 or 302 – see the SEOREDIRECT_TYPE field in the export. Shopify notes that 301 responses are cached by browsers and search engines, so test a few targets before importing the lot. The check script below demands a 301 and prints anything else.
  2. Sitemap. Shopify generates /sitemap.xml itself. Submit it in Search Console under Indexing → Sitemaps once the store is no longer password-protected.
  3. Canonical. In DanDomain one product can name another as canonical. In Shopify they should become one product with variants, and the theme’s canonical should point at /products/<handle>.
  4. Meta titles and descriptions. Carry SEO_TITLE and SEO_DESCRIPTION over; empty fields fall back to Shopify’s default from title and description.
  5. Image alt text. Up to 512 characters, and Shopify suggests 125 or fewer.
  6. Internal links. Search descriptions and pages for /shop/ and replace with the new paths before import.
  7. Several languages. If the shop has _UK_1 fields, each language version needs its own redirect. Our own product Lynbro Translate gained unique slugs per language and one sitemap covering every language in November for exactly that reason.
  8. 404 monitoring. Run the check below the day after launch and again a week later, and watch the 404 list in Search Console.

A status code alone proves nothing. We have seen a wrong page answer a perfectly normal HTTP 200, so our own checks now read the content. This script follows each redirect, demands a 301 to the right target and checks that the target page carries its canonical. In a salon reminder workflow every run showed “success” while 12 of 207 text messages were never sent – “the import succeeded” is not proof either.

#!/usr/bin/env python3
# After launch: follow every redirect and check status, target AND content
import csv, sys, time, urllib.error, urllib.request

SHOP = sys.argv[1].rstrip("/")          # e.g. https://www.your-shop.dk

class NoFollow(urllib.request.HTTPRedirectHandler):
    def redirect_request(self, *args, **kwargs):
        return None                     # we want to see the 301 itself

no_follow = urllib.request.build_opener(NoFollow)
problems = 0
with open("redirects.csv", encoding="utf-8", newline="") as f:
    for row in csv.DictReader(f):
        old, new = row["Redirect from"], row["Redirect to"]
        try:
            no_follow.open(SHOP + old, timeout=15)
            status, target = 200, ""    # the page still exists: Shopify does not redirect
        except urllib.error.HTTPError as e:
            status, target = e.code, e.headers.get("Location", "")
        ok = status == 301 and target.split("?")[0].endswith(new)
        if ok:                          # 200 is not enough: is it the right page?
            page = urllib.request.urlopen(SHOP + new, timeout=15).read().decode("utf-8", "replace")
            ok = 'rel="canonical"' in page and new in page
        if not ok:
            problems += 1
            print(f"{old} -> {status} {target or '-'} (expected 301 -> {new})")
        time.sleep(0.5)                 # go easy on the shop
print("problems:", problems)
sys.exit(1 if problems else 0)

Finally, count from the outside. A public Shopify catalogue can be read as products.json; we have used it to compare prices in a Danish jewellery brand’s catalogue and to count another store’s 98 products. The same count on the new shop shows whether everything arrived. If your old address autofill relied on DAWA, it is gone: DAWA has answered 410 Gone since 1 October 2026.

Sources

Last reviewed: 2026-12-04

Questions about moving from DanDomain to Shopify

Can Shopify’s own import tools read from DanDomain?

Shopify’s migration checklist links guides for WooCommerce, Wix and Squarespace among others, but not for DanDomain. Plan on CSV files and a script like the one above, or a migration app where you check yourself that DanDomain is on its list.

Will customers need a new password?

Yes, on classic customer accounts. Passwords are not in DanDomain’s export and cannot be imported into Shopify. With Shopify’s new customer accounts the customer signs in with an emailed code.

Will we lose Google rankings?

There is always a dip while every URL changes. What protects the traffic is a 301 from each old URL to the closest new page, a submitted sitemap and a 404 check in the weeks that follow.

When do we import the redirect file?

Build it before launch and import it the day the domain points at Shopify. Shopify only redirects from URLs that do not exist in the store.

Fixed price, no commitment

Get a free Shopify check

Tell us briefly what you use today and what you want to achieve. A person answers by e-mail with a proposal and a fixed price before any work starts.

  • A fixed price before we start
  • An answer by e-mail, no calls
  • Your details are used only to answer you

Fields marked with * are required.

What is it about?