URL Routes table mapping about, contact, and blog paths to pages HTML files
URL Routes

Appifio Creator · Lesson D02 · Intermediate

The Routes tab
map friendly URLs to HTML files

Instead of long raw HTML paths, give visitors short URLs like /contact that point to the right page. This lesson follows the same 5 system steps - do them in order and you won’t go wrong.

Learning goals: Create a new route in 5 steps, understand why a missing route breaks access, and know how to check/fix a broken route.

Reading time: about 12-15 minutes

Prerequisites: An HTML file in the project (D01) that needs a URL.

Previous / next: ← D01 (Files) · → D03 (Libraries & fonts)

Main UI labels: Routes · URL path · Add Route · Save · Route Path · Target File · Type · Status

1. The standard 5 steps (system guide)

Step 1
Click Add Route to create a new route
Step 2
Enter the route name (letters, numbers, hyphen - and underscore _ only)
Step 3
Pick the HTML file from the dropdown
Step 4
Enable/disable with the green/gray Status toggle
Step 5
Click Save to write routes into project storage (routes.json)

Remember: These are the same five guide lines shown in the Routes tab under “How to use:” - open the tab anytime to see them again.

2. Glossary

TermMeaningWhere in the UI
RoutesTab for custom app URLsTop tab bar in Creator
Route PathThe URL segment you choose (e.g. about, blog/post-slug)Column in the routes table
Target FileThe real HTML file the route points toDropdown when creating/editing
StatusOn/off for the route (green toggle = on)Column in the routes table
routes.jsonFile that stores all route configWritten when you click Save

3. Step details

Code editor open on routes.json showing path-to-file mappings
routes.json

Example (matches the UI sample)

Route:contact
File:contact.html
Visit URL:/your-site-slug/contact

Steps 1-3: Click Add Route, enter a name (letters/numbers/-/_ only - no accents, no spaces), pick the HTML file in Target File.

Step 4: Flip Status to green to activate now; leave gray if you want to create first and enable later.

Step 5: Click Save - required. Without it the route isn’t written to routes.json and disappears when you leave the tab.

When there are no routes yet

The tab shows: No routes yet. Click “Add Route” to create one. - normal for a new project, not an error.

4. Common issues

SituationCause & fix
URL errors / page won’t openCheck the target HTML file exists - “A route needs a matching HTML file; if the file is missing the route fails”
Route added but still dead on live“Check the HTML file exists and the route was saved” - both required: file present AND Save clicked
Menu/button links to 404No route for that page yet - add one to the right file, then update the menu link
Route name has accents or spacesOnly letters, numbers, -, _ - use ASCII (e.g. contact, not accented names like lien-he or spaces)
Route exists but Status is grayTurn Status green, then Save again

5. Compared with popular tools

ToolSimilarDifferent
WordPress (Permalinks)Pretty URLs to contentWordPress auto-builds permalinks per post; Creator maps each route to a static HTML file by hand
WebflowDedicated pages/URL managementWebflow ties routes to CMS collections; Creator ties routes to specific HTML files
LinktreeNo route table - single pageCreator supports many routes/pages - better for multi-page sites than a one-page biolink

6. Technical limits

You can

  • Create many routes to different HTML files
  • Toggle a route off without deleting it
  • Use nested paths like blog/post-slug

You can’t

  • Use accented characters or spaces in route names
  • Have a working route without Save - UI-only changes are temporary
  • Keep a route working if its HTML target was deleted (soft or permanent) from Files

7. Tips

  • Create the HTML file first, then add the route - avoid orphan routes with no file.
  • Keep route names short, ASCII, memorable - better for SEO and typing.
  • After adding/editing several routes, try each URL on the unpublished draft before Save changes to live.
  • For multi-page sites (B04), list the routes you need before you start so you don’t forget a page.

8. Self-check

  1. Have you created a new route with all 5 steps?
  2. Have you opened the new URL to verify it works?
  3. Can you explain why a route fails when the file is missing or Save wasn’t clicked?
  4. Do you know how to disable a route temporarily without deleting it?

Next lesson

D03 - Libraries & fonts: Bootstrap, icons, charts

Turn on CDN libraries (Bootstrap, Font Awesome, Chart.js) with a few clicks instead of hand-writing script/link tags.

Appifio Creator · User guide · D02