Moving a Grav CMS site to Pushword
Grav is a good fit when each page lives in a folder with its images and you want the application to read those files directly. Consider Pushword as a Grav CMS alternative when you want the content in a Symfony application with a database, a shared media library and Markdown export for Git review. The body can move between them. The file paths and front matter need a map.
Start with a linked page and a real image. The example below moves /cairn-note to /field-guides/cairn-note on both CMSs. It checks where the image ends up and what readers get when they follow the old link.
Move the page inside Grav
The original page is user/pages/04.cairn-note/default.md. Its body links to /trailheads, and  loads the image sitting next to the file. The numeric prefix sets the folder order. The default.md name selects the default template. Grav pages · Grav image links
On a test copy, move the entire folder below the existing user/pages/05.field-guides folder. This leaves the relative image link in the body intact. Add the redirect below to user/config/site.yaml.
redirects:
/cairn-note: '/field-guides/cairn-note[301]'
In the Grav 2.2.36 rehearsal, after clearing the cache with php bin/grav clearcache, the old route returned 301. The new route returned 200, and the image loaded from its new folder under user/pages/. If your site links directly to the asset at its old URL, put that URL in your migration inventory too. A page redirect covers the page path. Grav redirects
Import the same page into Pushword
Use a fresh staging Pushword install with Flat enabled. Create field-guides.md and trailheads.md in the host’s content directory for the parent and sibling pages. Copy cairn.jpg to the content directory’s media/ folder. The migrated article belongs at field-guides/cairn-note.md.
---
title: Cairn note
h1: Cairn note
parentPage: field-guides
publishedAt: '2026-11-20 09:00+00:00'
redirectFrom:
cairn-note: 301
---
The lower cairn marks the turn. See the [trailheads](/trailheads).

The file path gives the page its slug. parentPage sets its place in the content tree. Map the Grav publication date explicitly and use publishedAt: draft for unpublished pages. If the Grav page already has several public routes, decide which one to keep. Add each retired path that should resolve to this page to redirectFrom. Pushword Flat import
php bin/console pw:flat:lint staging.example
php bin/console pw:flat:sync staging.example --mode=import
curl -sS -o /dev/null -w '%{http_code} %{redirect_url}\n' \
https://staging.example/cairn-note
curl -fsS https://staging.example/field-guides/cairn-note
Replace staging.example with the configured host. The rehearsal returned 301 for the old page and 200 for the new one. The rendered page kept the link to /trailheads and the image’s alt text. Both the trailheads page and the image in Pushword’s media library returned 200. Run Page Scanner against the whole destination before switching traffic.
Inventory the parts outside the Markdown body
| What the Grav site uses | What to check on the destination |
|---|---|
| Page-local images or downloads | Inventory each referenced file. Give distinct names to files with the same basename before you flatten them into the media library. Check links to the old asset URLs separately. |
| Numbered folders and custom routes | Record current public paths and menu order. A folder prefix controls order in Grav. Carry over the actual path and choose how the destination orders its navigation. |
| Modular pages and collection templates | List the modules and any display rules. Map their fields to a declared page property or reproduce the component with a Twig template. |
| Custom blueprints or Twig in Markdown | Identify the fields and functions in use. Compare the rendered markup with your replacement. |
Grav modular pages · Grav front matter
Grav has Admin Next for browser editing and a Git Sync plugin. The choice for this kind of site is where you want the working copy. A Grav page folder can carry both text and its local files. Pushword stores pages in the database and syncs Markdown through Flat, with optional Git deployment. If your editors regularly reuse the same image on several pages, have them try the shared media library on the test site. If they regularly move an article and its files together, keep Grav’s page folders.