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
| Data | Out of DanDomain | Into Shopify | Note |
|---|---|---|---|
| Products and variants | Export, CSV or XML | Product CSV | Up to three options per product |
| Categories | Export | Collections | Build them from tags holding the category name |
| Images | Paths in the PICTURES field | Product image URL | Keep the old shop online during import |
| Customers | Export (customer data fields) | Customer CSV | Passwords do not move |
| Orders | Export, CSV or XML | Only via an app or the API | Keep the file as an archive |
| Pages and blog | Page export | No CSV | Copy by hand or with an app |
| Gift cards | Not in the export list | App or GiftCard API | Check balances before you close |
| Reviews | Not in the export list | Depends on the app | Ask your review provider |
| SEO redirects | Export | Part of the redirect file | Point straight at the new target |
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
| DanDomain | Shopify | Note |
|---|---|---|
| TITLE_DK | Title | Variant rows hold variant names, e.g. fabric and colour |
| SEO_LINK_DK | URL handle | Empty unless someone typed a manual link |
| SEO_TITLE_DK | SEO title | Max 70 characters in Shopify |
| SEO_DESCRIPTION_DK | SEO description | Max 320; empty in DanDomain unless filled |
| SEO_CANONICAL_DK | (no column) | Points at a product ID; merge into one product |
| NUMBER | SKU | The product ID is not the item number |
| EAN | Barcodes | Per variant |
| PICTURES | Product image URL | One row per image |
| URL | (used only for the redirect) | Category URLs cannot be changed by import |
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 URL | Handle taken from | New 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 |
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
- 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.
- Sitemap. Shopify generates
/sitemap.xmlitself. Submit it in Search Console under Indexing → Sitemaps once the store is no longer password-protected. - 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>. - Meta titles and descriptions. Carry SEO_TITLE and SEO_DESCRIPTION over; empty fields fall back to Shopify’s default from title and description.
- Image alt text. Up to 512 characters, and Shopify suggests 125 or fewer.
- Internal links. Search descriptions and pages for
/shop/and replace with the new paths before import. - Several languages. If the shop has
_UK_1fields, 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. - 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
- Dandomain Webshop – export — data types and formats, checked 20.11.2026
- Dandomain Webshop – order export — menu path, CSV/XML, no re-import, checked 20.11.2026
- Dandomain Webshop – products and variants — URL and SEO fields, checked 20.11.2026
- Dandomain Webshop – product categories — category URL, checked 20.11.2026
- Dandomain Webshop – customer data fields — PASSWORD and NEWSLETTER, checked 20.11.2026
- Dandomain Webshop – SEO redirects — SOURCE, TARGET, 301/302, checked 20.11.2026
- Shoporama – import from DanDomain — Classic: four XML files, checked 20.11.2026
- Shopify Help – URL redirects and sample file — columns and limits, checked 20.11.2026
- Shopify Help – customers and new customer accounts — passwords, code sign-in, checked 20.11.2026
- Shopify Help – sitemap — location and submission, checked 20.11.2026
- Shopify Help – migration checklist — data types, gift cards, checked 20.11.2026
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