[{"data":1,"prerenderedAt":437},["ShallowReactive",2],{"docs-navigation-en-guides":3,"docs-sections-en":64,"docs-/en/guides/move-website-with-agent":78},[4,9,14,19,24,29,34,39,44,49,54,59],{"title":5,"path":6,"stem":7,"icon":8,"children":-1},"Setup","/docs/guides","en/1.guides/index","tabler:settings",{"title":10,"path":11,"stem":12,"icon":13,"children":-1},"Import pages","/docs/guides/import-pages","en/1.guides/1.import-pages","tabler:file-import",{"title":15,"path":16,"stem":17,"icon":18,"children":-1},"Blog setup","/docs/guides/blog-setup","en/1.guides/2.blog-setup","tabler:rss",{"title":20,"path":21,"stem":22,"icon":23,"children":-1},"Event setup","/docs/guides/event-setup","en/1.guides/3.event-setup","tabler:calendar",{"title":25,"path":26,"stem":27,"icon":28,"children":-1},"Search","/docs/guides/search","en/1.guides/4.search","tabler:search",{"title":30,"path":31,"stem":32,"icon":33,"children":-1},"Translating your website","/docs/guides/translation","en/1.guides/5.translation","tabler:language",{"title":35,"path":36,"stem":37,"icon":38,"children":-1},"Custom domain","/docs/guides/custom-domain","en/1.guides/6.custom-domain","tabler:world",{"title":40,"path":41,"stem":42,"icon":43,"children":-1},"Plugins","/docs/guides/plugins","en/1.guides/7.plugins","tabler:packages",{"title":45,"path":46,"stem":47,"icon":48,"children":-1},"Connect your agent","/docs/guides/connect-agent","en/1.guides/8.connect-agent","tabler:robot",{"title":50,"path":51,"stem":52,"icon":53,"children":-1},"Upgrade to a paid plan","/docs/guides/upgrade-plan","en/1.guides/9.upgrade-plan","tabler:arrow-up-circle",{"title":55,"path":56,"stem":57,"icon":58,"children":-1},"Landing page by hand","/docs/guides/landing-page-by-hand","en/1.guides/91.landing-page-by-hand","tabler:layout-board",{"title":60,"path":61,"stem":62,"icon":63,"children":-1},"Move a website with your agent","/docs/guides/move-website-with-agent","en/1.guides/92.move-website-with-agent","tabler:arrows-exchange",[65,69,72,75],{"label":66,"to":67,"active":68},"Get Started","/docs/get-started",false,{"label":70,"to":6,"active":71},"Guides",true,{"label":73,"to":74,"active":68},"Resources","/docs/resources",{"label":76,"to":77,"active":68},"Developers","/docs/developer",{"id":79,"title":60,"body":80,"description":424,"extension":425,"icon":426,"meta":427,"navigation":428,"next":429,"order":426,"path":434,"seo":435,"soon":68,"stem":62,"__hash__":436},"docs/en/1.guides/92.move-website-with-agent.md",{"type":81,"value":82,"toc":414},"minimark",[83,87,162,165,174,179,209,213,246,250,279,285,291,295,305,315,319,332,338,342,352,358,362,406],[84,85,86],"p",{},"There are two ways to get an existing website into Neleto. Both work; they lead to\ndifferent results.",[88,89,90,105],"table",{},[91,92,93],"thead",{},[94,95,96,99,102],"tr",{},[97,98],"th",{},[97,100,101],{},"Import",[97,103,104],{},"Rebuild with your agent",[106,107,108,120,140,151],"tbody",{},[94,109,110,114,117],{},[111,112,113],"td",{},"What comes over",[111,115,116],{},"Blog posts from a WordPress export file, and any page by its address",[111,118,119],{},"Every page, rebuilt as components",[94,121,122,125,133],{},[111,123,124],{},"What you get",[111,126,127,128,132],{},"Pages arrive as ",[129,130,131],"strong",{},"plain HTML",": one block of code per page",[111,134,135,136,139],{},"Every text, image, link and colour is ",[129,137,138],{},"editable"," in the page builder",[94,141,142,145,148],{},[111,143,144],{},"Effort",[111,146,147],{},"Minutes",[111,149,150],{},"A few minutes per page for the agent; an afternoon for a small site",[94,152,153,156,159],{},[111,154,155],{},"Use it when",[111,157,158],{},"You need the content in quickly, or you're moving blog posts",[111,160,161],{},"You want the site to work like a Neleto site from day one (recommended)",[84,163,164],{},"With the import alone, you've changed the system, but you don't have its benefits\nyet: changing a headline on an imported page still means editing HTML. The way to\nbenefit right away is to let your agent rebuild the site as components. This page\ngives you the prompt for it.",[84,166,167,168,173],{},"Blog posts are best moved with the ",[169,170,172],"a",{"href":171},"/docs/resources/blog-posts","WordPress import","\nin any case. The prompts below take care of the pages.",[175,176,178],"h2",{"id":177},"before-you-start","Before you start",[180,181,182,186,192,195,198,206],"ul",{},[183,184,185],"li",{},"A Neleto site. The free plan is enough to try it.",[183,187,188,189,191],{},"Your agent connected to that site, see ",[169,190,45],{"href":46},".",[183,193,194],{},"Ideally, an agent that can open web pages (a browser tool). It reads the old\nsite's real design and checks the result on the live page. Without one, it works\nfrom the HTML source.",[183,196,197],{},"The address of the website you want to move.",[183,199,200,201,205],{},"For large WordPress sites: access to the WordPress REST API (",[202,203,204],"code",{},"/wp-json",") or an\napplication password, and an agent environment with a shell (for example\nClaude Code), because the run keeps its progress in a file.",[183,207,208],{},"For a project on your computer (an HTML folder, a Vite, Astro or Next.js project): an\nagent environment with a shell that can open the project folder and start it.",[175,210,212],{"id":211},"which-prompt","Which prompt?",[180,214,215,226,236],{},[183,216,217,220,221,225],{},[129,218,219],{},"Up to about 30 pages:"," ",[169,222,224],{"href":223},"#prompt-1-small-and-medium-sites","Prompt 1",". It rebuilds the\nsite page by page from the live design.",[183,227,228,220,231,235],{},[129,229,230],{},"WordPress with 100+ pages:",[169,232,234],{"href":233},"#prompt-2-large-wordpress-sites","Prompt 2",". It works in\nphases, takes the content from WordPress itself and stops after the inventory so\nyou can check the plan before anything is built.",[183,237,238,220,241,245],{},[129,239,240],{},"A project on your computer, not online yet:",[169,242,244],{"href":243},"#prompt-3-local-project","Prompt 3","\ntogether with Prompt 1. It reads pages and design from the project folder and uploads\nimages and fonts from your disk.",[175,247,249],{"id":248},"how-it-works","How it works",[251,252,253,260,263,270,273,276],"ol",{},[183,254,255,256,259],{},"Copy the prompt and replace ",[202,257,258],{},"\u003CSOURCE_URL>"," with the address of the old site.",[183,261,262],{},"Paste it into a session of your connected agent.",[183,264,265,266,269],{},"The agent finds all pages, reads the design and lists the ",[129,267,268],{},"section types"," the\nsite uses (hero, text with image, card grid, FAQ …). A section that appears on\nseveral pages becomes one component, so you and your client learn it once.",[183,271,272],{},"It builds the layout, the components and every page, carries over titles and\nmeta descriptions, and sets up redirects for old addresses that change.\nNeleto checks every page as it is saved for broken links, alt texts and search and\naccessibility basics, and the agent fixes what it finds right away.",[183,274,275],{},"It checks every page: all sections present, no broken images, no template\nerrors, and position and size of every element measured against the old site at\nthree screen widths (2 px tolerance), accessibility, and Lighthouse scores.",[183,277,278],{},"It reports old and new addresses, redirects, and everything it needs from you,\nfor example where form submissions should go or a brand colour that fails\ncontrast.",[84,280,281,282,191],{},"Then review the pages in the admin, invite your client as an editor and\n",[169,283,284],{"href":36},"connect the domain",[286,287,288],"note",{},[84,289,290],{},"Features that come from plugins don't move by themselves: shops, bookings, member\nareas, or where form submissions go. The agent lists them in its report so you can\ndecide what replaces them.",[175,292,294],{"id":293},"prompt-1-small-and-medium-sites","Prompt 1: small and medium sites",[84,296,297,298,300,301,304],{},"Replace ",[202,299,258],{},", for example ",[202,302,303],{},"https://www.example.com",", then paste the whole block.",[306,307,313],"pre",{"className":308,"code":310,"language":311,"meta":312},[309],"language-text","Replicate \u003CSOURCE_URL> 1:1 on our Neleto CMS as a fully component-driven site — every text,\nimage, link and color editable in the CMS, nothing hard-coded in templates. Build every page\nreachable from nav, footer and in-page links. Verify everything yourself before reporting.\n\nPass `verbose:false` on EVERY create/update call (responses shrink to ids; halves token cost).\n\n## Step 1 — Discover\n- Try /sitemap.xml (or /sitemap_index.xml) first, then crawl nav + footer + in-page links.\n- Produce a page table: old URL → new Neleto route (no trailing slash — Neleto strips it,\n  \"/x/\" serves at \"/x\"), page \u003Ctitle>, meta description, og:image, canonical, lang.\n\n## Step 2 — Pull the REAL design (live site = truth, never an archive)\n- With a browser tool (Claude in Chrome, built-in browser, Playwright): per page a full-page\n  screenshot + computed styles (font-family/-weight/-size, line-height, colors, backgrounds,\n  padding, radius, section heights, buttons) + section/DOM structure. Match exact values.\n- Capture at 1440px, 768px AND 390px wide, plus every breakpoint in the source's media queries.\n- Base styles (the usual cause of misalignment — they come from the theme, not the sections):\n  html/body font-size, line-height, color, margin; box-sizing; container max-width + side\n  padding per breakpoint; default margins of h1–h6, p, ul. Copy the source's reset as is.\n- Page builders (Elementor, Divi, WPBakery): the layout also comes from builder CSS (global kit\n  CSS, per-page post-\u003Cid>.css, frontend.min.css). Port the rules the page actually uses (Chrome\n  DevTools Coverage or PurgeCSS against the rendered page) — never paste whole builder\n  stylesheets; they cost Lighthouse points.\n- Fonts: for every font-family in use, find where it is loaded (Google Fonts \u003Clink>,\n  @font-face in theme CSS, Adobe/Typekit, Elementor/OMGF local copies). Note family,\n  weights, styles and the woff2 URLs.\n- Bot protection (Cloudflare 403 on fetch): a real browser session usually passes.\n- No browser: read HTML/CSS source directly. Real values, not visual approximation.\n- Screenshots I attach override anything you fetch.\n\n## Step 3 — Section inventory (before creating anything)\nCompare ALL pages and list the distinct section TYPES (hero, text+image, card grid, CTA\nband, FAQ, contact …). A section that repeats across pages with different content is ONE\ncomponent used many times — not one component per page. Show the inventory as a short\ntable (type → pages using it → editable fields) and continue.\n\n## Step 4 — Build\n\n### Engine rules (strict)\n1. Inline helpers: parentheses + commas — `{{ render_elements(page.elements) }}`,\n   `{{ image_path(img, \"w_800,f_webp\") }}`.\n2. Block helpers bind with `as` — `{{#if x as v}}…{{/if}}`, `{{#each list as item}}…{{/each}}`.\n3. String literals double-quoted, also inside attributes: `src=\"{{ image_path(img, \"w_800\") }}\"`.\n4. Undefined symbol / wrong arity = hard compile error that blanks the page — guard nullables.\n5. Never triple braces (engine panics).\n6. `{{ }}` is HTML-escaped — structural HTML (`\u003Cbr>`, bold, spans) goes in the template.\n   Exception: a `richtext` property renders raw (use it for long body copy).\n   Richtext values may only contain what the admin editor can edit: p, h1–h4, strong, em, u, s,\n   a, ul/ol/li, blockquote, br, img, and a `\u003Cspan class>` around a word. Layout markup inside\n   richtext (wrapper divs, block spans as line breaks, grid classes) locks the field in the\n   editor — put it in the template. A headline with a highlighted word = text properties\n   (e.g. `title`, `titleHighlight`) rendered in the template, not a richtext blob.\n7. `{{ properties.key }}`, `{{ relations.id }}`, `{{ render_elements(children) }}` — never bare `{{ key }}`.\n\n### Architecture — layout + page split\nLayout `style` IS injected into \u003Chead>, before all component styles. Layout `script`, page\n`style` and page `script` are NOT. So:\n- Layout `style`: the @font-face rules (see Fonts) and the source's reset/base styles from\n  Step 2, nothing else.\n- ALL other CSS in one Global Styles component (`template:\"\"`, whole stylesheet in `style`,\n  source order). Section components carry template + form only (`style:\"\"`) — this avoids\n  cross-component specificity ties. If you do put CSS in a section component, scope it\n  (`.banner .banner-inner{…}`), never bare classes that collide with shared ones.\n- Site-wide JS in one Site Scripts component, wrapped in `DOMContentLoaded`; null-check every\n  lookup that isn't on every page. `position:fixed` nodes created by PAGE-element JS must be\n  `document.body.appendChild()`-ed at runtime (a fixed nav in the layout is fine).\n- Slot component: `template:\"\u003Cdiv>{{ slot }}\u003C/div>\"`, empty form, icon `tabler:layout-dashboard`\n  (built-in id 0 does not resolve).\n- Layout (`layout_create`, ONE call): template `{{ render_elements(page.layout.elements) }}`,\n  `style` as above, elements in order Global Styles, Site Scripts, Nav, slot, Footer. Resend\n  template AND style on every `layout_update` or they blank.\n- Page template: `{{ render_elements(page.elements) }}` — section elements only, `layoutId` set.\n  Never repeat Nav/Footer/styles/scripts in `page.elements`.\n- Fallback only if `layout_create` errors: Nav, Global Styles, Site Scripts, Footer as page\n  elements on every page; @font-face + base styles at the top of Global Styles.\n- Icons: Tabler strings with `tabler:` prefix (`tabler:photo`, `tabler:menu-2`).\n\n### Form properties\nOne per client-editable value: camelCase `id`, `label:{en,de}`, `type`, `defaultValue` from the\nsource. Types: text, textarea, richtext, number, checkbox, select, relation, builder. Leave\nstructural classes, decorative SVG, aria-*, animation hooks hard-coded.\nValues repeated across pages (phone, address, opening hours — per location if there are\nseveral) are global strings, edited in one place (admin → Translations):\n`translation_create {key:\"location.leipzig.phone\", language:\"de\", content:\"…\"}`, rendered with\n`{{ translation(\"location.leipzig.phone\") }}` — the key must be a string literal.\n\n### Images — ingest by URL, never upload when a URL exists\nEditable image = `file` relation + sibling alt text property:\n`{ \"id\":\"image\",\"type\":\"relation\",\"relationName\":\"file\",\"multiple\":false,\"defaultValue\":null }`\n`{ \"id\":\"imageAlt\",\"type\":\"text\",\"defaultValue\":\"…\" }`\nRender: `{{#if relations.image as file}}\u003Cimg src=\"{{ image_path(file, \"w_900,f_webp\") }}\" alt=\"{{ properties.imageAlt }}\">{{/if}}`\n- `f_` is FORMAT only (webp/jpeg/png/avif). Never `f_cover` (400). Crop with CSS `object-fit:cover`.\n- On the element: `data.image = { \"sourceUrl\":\"https://…\", \"path\":\"\u003Csite>/\u003Cname>.webp\",\n  \"title\":\"…\", \"status\":\"public\" }` — always set `path` (else opaque `mcp-ingest/…`).\n  Works in page_create/page_update/layout_update, on children and multiple relations.\n- `sourceUrl` must be reachable by the Neleto server. Re-ingesting a Neleto file needs\n  `?options=w_800,f_webp` on the serve URL (bare → 400).\n- Only a local file with no URL → `file_upload_url {path}`, then\n  `curl --upload-file \u003Cfile> \"\u003CuploadUrl>\"` (needs a shell). No shell: `file_upload_multipart`\n  (stripped small webp, ~1.2 KB parts with sha256, all parallel).\n\n### Fonts — self-host every font, never hotlink\n- Ingest each woff2 once (Google Fonts too — hotlinking them is a GDPR problem in the EU):\n  `file_upload {sourceUrl, path:\"\u003Csite>/fonts/\u003Cfamily>-\u003Cweight>.woff2\", status:\"public\"}`.\n  For Google Fonts, take the woff2 URLs from the fonts.googleapis.com/css2 response.\n- Reference it as `url(\"/files/user-upload/\u003Csite>/fonts/\u003Cfile>.woff2\")` — the path you\n  uploaded to. NOT the returned serveUrl (bare serveUrl → 400).\n- One @font-face per weight/style with `font-display:swap`, in layout `style`.\n- Never point @font-face at the old domain: browsers block cross-origin fonts and the old\n  site goes offline after the move. Adobe/Typekit kits only work on registered domains →\n  ASK ME (add the new domain to the kit, or a licensed replacement).\n- Copy each font-family stack in full, fallbacks included.\n\n### Repeating lists — builder (undocumented shape, copy exactly)\n{ \"id\":\"items\",\"type\":\"builder\",\"label\":{\"en\":\"Items\",\"de\":\"Items\"},\"description\":null,\"hint\":null,\"required\":null,\n  \"defaultValue\":[{\"id\":\"r1\",\"data\":{\"title\":\"…\",\"body\":\"…\"}}],\n  \"items\":[{\"id\":\"row\",\"type\":\"text\",\"name\":\"row\",\"label\":{\"en\":\"Row\",\"de\":\"Zeile\"},\"icon\":null,\"items\":[],\n    \"data\":\"\",\"defaultValue\":\"\",\"property\":{\"type\":\"text\",\"defaultValue\":\"\"},\n    \"props\":[{\"id\":\"title\",\"type\":\"text\",\"label\":{\"en\":\"Title\",\"de\":\"Titel\"},\"defaultValue\":null,\"description\":null,\"hint\":null,\"required\":null},\n             {\"id\":\"body\",\"type\":\"textarea\",\"label\":{\"en\":\"Body\",\"de\":\"Text\"},\"defaultValue\":null,\"description\":null,\"hint\":null,\"required\":null}]}]}\n- exactly one row-template; fields in its `props`; its `data`/`defaultValue` MUST be \"\".\n- read rows as `{{#each properties.items as item}}{{ item.data.title }}{{/each}}`.\n- Rows needing their own image/markup → child component under a `canHaveChildren:true` parent.\n\n### Elements & data\n- Every element: `visible:true`, `tempId`, `componentId`, `data`, `children:[]`\n  (page_create needs no `pageId`; page_update does).\n- First creation auto-seeds `data` from each property's `defaultValue` → only send what has no\n  default (image ingests) or differs per instance (content of a reused section!).\n- LATER updates are replace-semantics: `data` is NOT merged, auto-seed does NOT re-run.\n  Sending `{}` or a partial object wipes the section. Always resend COMPLETE data, and every\n  element with `id` AND `tempId` — omitted elements are deleted.\n- Never `page_get` a finished page (blows the token limit); use `*_list`, or\n  `page_get` with `componentDetail:\"minimal\"` if you must inspect.\n\n### Build order\n1. `component_list` / `layout_list` / `page_list` — reuse what exists.\n2. Create ALL components from the Step-3 inventory in one or two parallel batches.\n3. `layout_create` in one call.\n4. One `page_create` per route (parallel where possible): `layoutId`, `renderMode:\"dynamic\"`,\n   `status:\"public\"`, `useTailwind:false`, all section elements with their content and inline\n   image ingests, plus the page title/meta description/og data from Step 1 in the page's SEO\n   fields (check the page_create schema for their names). No create-empty-then-update.\n   Every page_create/page_update returns `check`: fix its errors and warnings before moving\n   on. Issue with `field` → resend the element with that field fixed; without `field` → fix\n   the component template (`component_update`, then `page_check` the pages using it);\n   `scope:\"layout\"` → `layout_update`.\n5. Redirects for every old URL whose shape changed (trailing slash, renamed paths, .html).\n6. Verify (Step 5). Then flip pages to `renderMode:\"prerendered\"` and re-verify.\n\n## Step 5 — Verify every page\nFirst `page_check` every page (server-side, fast): 0 errors, every remaining warning explained\nin the report. It covers title/description/og tags, h1 and heading levels, alt texts, link and\nbutton text, form labels and internal links. Then the browser checks below for what it can't\nsee (layout, fonts, contrast).\nLoad each live page (base URL from `settings_get` → publicBaseUrl) and run once:\n(() => { document.querySelectorAll('.reveal,[class*=\"reveal\"]').forEach(e=>e.classList.add('in'));\n  const q=s=>document.querySelectorAll(s).length;\n  const imgs=[...document.querySelectorAll('img')].filter(i=>!i.closest('#nlto-widget'));\n  return { sections:{/* expected counts per section class */},\n    imgBroken: imgs.filter(i=>i.naturalWidth===0).length,\n    leftovers: document.body.innerHTML.includes('{{') || /could not resolve symbol/i.test(document.body.innerText),\n    title: document.title, h1: q('h1'), mains: q('main'), lang: document.documentElement.lang }; })();\nBar: each section once and in order, imgBroken 0, leftovers false, one h1, HTTP 200, then one\nscreenshot per width (1440, 768, 390) next to the source's. Then:\n- Fonts + layout match: run this on the SOURCE and on the copy, at 1440px, 768px and 390px:\n  (async()=>{ await document.fonts.ready;\n    const els=[...document.querySelectorAll('header,nav,section,h1,h2,h3,p,li,button,a[class*=\"btn\"],img,footer')]\n      .filter(e=>!e.closest('#nlto-widget')).slice(0,120);\n    return { w:innerWidth,\n      fonts:[...document.fonts].filter(f=>f.status==='loaded').map(f=>f.family+' '+f.weight),\n      boxes:els.map(e=>{const r=e.getBoundingClientRect(),s=getComputedStyle(e);\n        return [e.tagName,(e.textContent||'').trim().slice(0,30),Math.round(r.left),Math.round(r.top+scrollY),\n                Math.round(r.width),Math.round(r.height),s.fontFamily.split(',')[0],s.fontSize,s.textAlign]}) }; })();\n  Bar: every family the source loads is loaded on the copy; elements matched by text are within\n  2px in left, top, width and height, with the same fontSize and textAlign. \"The page loads\" is\n  not a match — fix layout style / Global Styles until the numbers are.\n- axe-core on every page: 0 violations (lang, labelled inputs, heading order, one \u003Cmain>,\n  unique landmark labels, AA contrast). If fixing contrast would change a brand color, ASK ME.\n- Lighthouse on the home page and one page per section-heavy template: report\n  Performance / Accessibility / Best Practices / SEO next to the source site's scores.\n  Target: no category worse than the source.\n\n## Step 6 — Report\nTable per page: old URL → new URL, redirect (y/n), axe violations, notes. Lighthouse\nbefore/after. Fonts: self-hosted (family + weights) or open (licence). Everything you had to\nassume. Open items that need my input (forms, analytics IDs).\n","text","",[202,314,310],{"__ignoreMap":312},[175,316,318],{"id":317},"prompt-2-large-wordpress-sites","Prompt 2: large WordPress sites",[84,320,297,321,323,324,327,328,331],{},[202,322,258],{}," and ",[202,325,326],{},"\u003CWORKDIR>"," (the folder for the progress file and scripts).\nPaste this prompt ",[129,329,330],{},"and Prompt 1 below it",": Prompt 2 reuses its building and\nchecking rules.",[306,333,336],{"className":334,"code":335,"language":311,"meta":312},[309],"Migrate the WordPress site \u003CSOURCE_URL> to our Neleto CMS. Work in phases and keep all state\nin \u003CWORKDIR>/manifest.json so any run can be resumed or repeated without duplicates.\nFollow all engine, architecture, image, builder and data rules from the site-copy prompt\n(pasted below this one) — they apply unchanged. Pass `verbose:false` on every create/update.\n\n## Phase 1 — Inventory (read-only). STOP afterwards and report to me.\n1. Detect the API: GET /wp-json/ . If blocked, fall back to /wp-sitemap.xml or Yoast's\n   /sitemap_index.xml plus per-page HTML.\n2. Pull everything, paginated (per_page=100, follow X-WP-TotalPages):\n   /wp/v2/pages, /wp/v2/posts, /wp/v2/categories, /wp/v2/tags, /wp/v2/media,\n   custom post types from /wp/v2/types, menus (/wp/v2/menu-items or /wp-api-menus if present).\n   Keep per item: id, slug, link, parent, template, modified, title, content.rendered,\n   excerpt, featured_media, and SEO from `yoast_head_json` (title, description, canonical,\n   robots, og:image) or Rank Math equivalents.\n3. Detect the stack from HTML/body classes and asset paths: theme, page builder (Elementor,\n   Divi, WPBakery, Gutenberg), multilingual (WPML/Polylang → hreflang), forms (CF7, Gravity,\n   WPForms), shop (WooCommerce), search, comments, sliders, embedded maps/videos, tracking.\n4. Cluster pages into TEMPLATES by WP template + section structure (screenshot 1–2\n   representatives each). Typical: home, standard content page, service/product detail,\n   team, contact, landing page, blog index, blog post, category archive, legal.\n5. Write manifest.json: one row per URL with type, template cluster, SEO fields, image\n   URLs, word count, status:\"pending\", neletoId:null, newRoute (no trailing slash).\n6. Report to me and WAIT:\n   - counts per type/template, languages, total media\n   - proposed component library (section types → fields) and content model\n     (what becomes a page, what goes into a Neleto content type/collection e.g. blog)\n   - plugin functionality that has NO 1:1 Neleto equivalent and needs a decision\n     (forms, shop, member areas, search, comments, events)\n   - dead weight to drop (drafts, orphan pages, empty tags, attachment pages, old landing pages)\n   - SEO risks and the redirect patterns you'll need\n\n## Phase 2 — Template pilot (after my OK)\nBuild layout + component library + ONE representative page per template, with the\nsite-copy rules (layout/page split, Global Styles, one component per section TYPE, builder for lists,\nimages via sourceUrl with path \"\u003Csite>/\u003Cyyyy>/\u003Cmm>/\u003Cfile>\"). Design from the live site's\ncomputed styles, base styles and fonts (site-copy Step 2). Verify each pilot page (site-copy\nStep 5: audit script, fonts + alignment check, axe 0, screenshots vs. source, Lighthouse). Write a `template-map` into the manifest: for each template, which\ncomponent receives which WP field. Report pilot URLs to me before bulk.\n\n## Phase 3 — Bulk content (batches, resumable)\n- Process manifest rows with status \"pending\" in batches of 10–20. For each: transform\n  WP content into the element data of its template, then ONE page_create (or page_update if\n  neletoId exists — then resend COMPLETE data + id + tempId; data is replace-semantics).\n  Write neletoId + status:\"built\" back to the manifest after each page.\n- If you have a shell and API access to the Neleto MCP endpoint, do the transform and the\n  calls as a script (deterministic, no LLM retyping of content); the model only handles\n  rows the script flags.\n- Content cleanup: strip page-builder wrappers and shortcodes ([vc_row], [et_pb_*],\n  elementor data attributes), keep semantic HTML (h2–h4, p, ul/ol, a, strong/em, table,\n  blockquote) in a `richtext` body; flag any unknown shortcode instead of dropping it.\n- Links: rewrite internal absolute URLs to relative Neleto routes WITHOUT trailing slash;\n  resolve ?p= / ?page_id= links via the manifest; flag links to removed pages.\n- Images: sourceUrl = original from /wp-content/uploads (not the -300x200 size variants),\n  explicit path, alt from WP media alt_text; dedupe by URL so each file is ingested once.\n- SEO: carry title, meta description, canonical, robots/noindex and og:image into the\n  page's SEO fields; hreflang for language variants.\n- Posts: into the Neleto blog/content type if the instance has one (check the tool list),\n  keeping date, author, categories, featured image; otherwise a post template page.\n\n## Phase 4 — Redirects, verification, report\n- Redirects: every old URL whose shape changes → 301 to its new route. Cover patterns:\n  trailing slash, /category/…, /tag/…, /author/…, date archives, /feed, attachment pages,\n  ?p=/?page_id=, /wp-content/uploads/… for important PDFs, removed pages → nearest parent.\n- `page_check` over ALL built pages: 0 errors (covers title + meta description, one h1,\n  alt texts, link text, form labels and every internal link). Plus, by script or batched\n  audit: HTTP 200, no \"{{\" or \"could not resolve symbol\", imgBroken 0, word count within ±10%\n  of the WP source.\n- Layout match over ALL built pages, not just the pilots: the site-copy Step 5 fonts + layout\n  script on the WP URL and the Neleto URL at 1440, 768 and 390 px, same 2px bar. List every\n  page that misses it; most misses come from missing theme or page-builder CSS.\n- axe-core 0 violations on every template pilot + a random 10% sample; Lighthouse per template\n  vs. the WordPress original (no category worse).\n- Old sitemap: request every old URL against the new site → 200 or 301, never 404.\n- Flip verified pages to renderMode:\"prerendered\".\n- Report: counts built/skipped/flagged, redirect list, URLs with issues, open decisions.\n",[202,337,335],{"__ignoreMap":312},[175,339,341],{"id":340},"prompt-3-local-project","Prompt 3: local project",[84,343,344,345,348,349,351],{},"For a site that isn't online yet, for example a folder of HTML files or a Vite, Astro\nor Next.js project. Replace ",[202,346,347],{},"\u003CPROJECT_DIR>"," with the project folder. Paste this prompt\n",[129,350,330],{},": Prompt 3 only replaces how the agent finds pages, design\nand files.",[306,353,356],{"className":354,"code":355,"language":311,"meta":312},[309],"Replicate the local project in \u003CPROJECT_DIR> on our Neleto CMS. Follow the site-copy prompt\n(pasted below this one) with the changes below — everything else applies unchanged.\n\n## Instead of Step 1 — Discover\n- Routes from the project itself: file tree (pages/, app/, src/pages/, *.html) or the router\n  config. Ignore build output, node_modules and tests.\n- Same page table as in Step 1; take title and meta from the source files or the rendered page.\n\n## Instead of Step 2 — Design\n- The project's CSS/SCSS and theme/Tailwind config are the truth. Start the dev server (or\n  open the build output) in the browser and collect computed styles, base styles, fonts and\n  screenshots at 1440 + 390 px from it, exactly as in Step 2.\n- Tailwind projects: keep `useTailwind:false`. Run the project's build and put the generated\n  CSS into Global Styles (base/reset part into layout `style`), so the classes in your\n  templates keep working.\n- Fonts usually sit in the project (public/, assets/fonts/) or in a package (@fontsource/…):\n  use those woff2 files.\n\n## Assets (images, fonts, PDFs)\n- The Neleto server cannot reach localhost or this disk: `sourceUrl` does not work for local\n  files. Per file: `file_upload_url {path:\"\u003Csite>/…\"}`, then\n  `curl --upload-file \u003Clocal file> \"\u003CuploadUrl>\"`. Use the returned id in element data, and\n  `/files/user-upload/\u003Cpath>` for fonts. Never base64.\n- Files that are also online (CDN, an old live site) can use `sourceUrl` as usual.\n\n## Verify\n- Step 5 as written, with the dev server as the source.\n",[202,357,355],{"__ignoreMap":312},[175,359,361],{"id":360},"tips-from-real-migrations","Tips from real migrations",[180,363,364,370,376,382,388,394,400],{},[183,365,366,369],{},[129,367,368],{},"The section list comes first."," Building page by page without it produces\nnear-identical components that your client then has to learn twice.",[183,371,372,375],{},[129,373,374],{},"Fonts and spacing come from the theme, not the sections."," If text sits a few\npixels off or the font looks wrong, the theme's base styles, font files or the\npage builder's CSS (Elementor, Divi) are missing. The prompt has the agent copy\nthem and measure every page against the original at three widths. Only the\nbuilder CSS a page actually uses gets ported, so Lighthouse doesn't drop.",[183,377,378,381],{},[129,379,380],{},"Keep it editable without AI."," A headline with a highlighted word gets its own\nfields instead of HTML in a rich-text field, so editors can change it in the\nadmin. Phone numbers and addresses that appear on many pages live in one place\n(Translations).",[183,383,384,387],{},[129,385,386],{},"Titles, descriptions and redirects matter as much as the look."," A copy that\nlooks perfect but drops them loses its search rankings, which people notice\nweeks later.",[183,389,390,393],{},[129,391,392],{},"Let the agent check accessibility."," A 1:1 copy keeps the old site's\naccessibility problems; with the checks in the prompt, they get fixed during\nthe move.",[183,395,396,399],{},[129,397,398],{},"Brand colours are your decision."," If fixing contrast would change a brand\ncolour, the agent asks you instead of deciding.",[183,401,402,405],{},[129,403,404],{},"Fixing content later:"," updates replace a section's content completely. Let the\nagent resend the full content of a section, not just the changed field.",[84,407,408,409,413],{},"Moving a client site for the first time? ",[169,410,412],{"href":411},"/contact","Talk to us",": we do the first\none with you.",{"title":312,"searchDepth":415,"depth":415,"links":416},2,[417,418,419,420,421,422,423],{"id":177,"depth":415,"text":178},{"id":211,"depth":415,"text":212},{"id":248,"depth":415,"text":249},{"id":293,"depth":415,"text":294},{"id":317,"depth":415,"text":318},{"id":340,"depth":415,"text":341},{"id":360,"depth":415,"text":361},"Move an existing website to Neleto so every text, image and link is editable\nin the page builder, with one prompt for your agent.\n","md",null,{},{"icon":63},[430,432],{"title":45,"description":431,"to":46,"icon":48},"Connect Claude, Cursor or any MCP tool to your site.",{"title":35,"description":433,"to":36,"icon":38},"Put the moved site on its own domain.","/en/guides/move-website-with-agent",{"title":60,"description":424},"5_Kw6Pj1eiIhEsJeWv6rGeKQp7mjRUnQGGu0qA5Z7ps",1794839756593]