CMS Admin Workflow

Last updated:2026-11-25

The site admin panel is a standard CMS. This guide walks through every module in the order you’d actually use them for day-to-day maintenance — where to find each one, what it does, and where to see the result.

Full Workflow at a Glance

Enter admin panel → Site info → Configuration → Sections → Content (posts/products/cases/jobs/single pages)
   → Media library → Templates & colors → Multi-language → SEO → Static generation & publishing
   → Backup → Audit log → System update

Step 0: Enter the Admin Panel

Two routes:

  • From the console: Console → Site card → “Enter Admin Panel”. This is a passwordless redirect — no need to remember another account or password;
  • Direct access: Log in to the site’s admin panel URL (/admin/login) with the site administrator account.

Admin panel logins are protected by failed-attempt lockout (by default, 5 consecutive failures lock the account for 15 minutes) and IP allowlists, adjustable under “Configuration → Security”.

Step 1: Site Info (Lay the Foundation First)

Entry: Admin panel → Site Info (/admin/site).

Setting Description
Site name / Logo Used in the front-end header and browser title
Contact info Phone, email, address — read by the front-end “Contact Us” page and footer
ICP filing / Public security filing Required for mainland China servers; shown in the footer
Copyright text The footer copyright line
Analytics code Third-party code such as Baidu Analytics / Google Analytics
Template path Switch templates (pick from the dropdown; takes effect on save)

Changes take effect on save — no re-publishing needed.

Step 2: Configuration (8 Groups)

Entry: Admin panel → Configuration (/admin/config). All site-level switches live here. Except for “Basic config” (which writes to the site table), everything is stored in the settings table and takes effect immediately after saving.

Tab Key Settings
Basic config Site title / domain / logo / filing / analytics / template directory
Baidu API Webmaster platform active push: site, token, auto-push on save
IndexNow push One submission reaches Bing / Yandex / Seznam / Naver
WebAPI Public read-only JSON API: switch, token, IP allowlist, rate limiting
Security Login failure lockout, admin IP allowlist, session policy, upload extension blacklist
URL rules Detail page suffix, naming (ID / slug), pagination style — affects every “ on the front end
Title style Title separator and order, home page title template, auto-excerpt length
Remote attachment config Host attachments on FTP / object storage
⚠️ 注意

After changing “URL rules” you must regenerate the static site for the generated HTML files to use the new rules (dynamic pages update immediately).

Step 3: Sections (Define the Front-End Navigation)

Entry: Admin panel → Section Management (/admin/categories).

  1. Create a section: fill in the name, URL slug (auto-numbered if left blank), parent section, sort order, and visibility;
  2. Sort order determines the front-end navigation order;
  3. Supports batch add (paste one name per line) and batch delete.
⚠️ 注意

Batch-deleting a section does not cascade to child sections or content — handle child items first. Deletion is a hard delete and cannot be recovered.

Step 4: Content

Five built-in models plus custom models, all reachable from the left menu:

Type Entry Typical Use
Posts / News /admin/posts Company updates, industry insights
Products /admin/products Product showcases, service packages
Cases /admin/cases Customer stories, project case studies
Jobs /admin/jobs Job listings
Single pages /admin/pages About Us, Contact Us
Slides /admin/slides Home page banner
Tags /admin/tags Content tagging, aggregation pages
Custom models /admin/models Self-built content models (tables like model_xxx); front end uses generic lists and /m/<code>/<id> detail pages

Recommended flow for publishing content

  1. Create the section first (it appears in the navigation immediately);
  2. Fill in the title, excerpt, and body, and add one cover image;
  3. Fill in the three SEO fields (falls back to the title if left blank);
  4. Save, then open the page on the front end to check, and fine-tune.

Batch operations: posts/products/cases/single pages/sections all support selecting multiple items on the list page for batch deletion, or creating many at once via the “Batch Add” page (with “Quick Import”: paste one title per line). Batch deletions are site-isolated and only affect the current site.

Translation copy: content can be “copied as translation” (/admin/content/copy-translation) to other language sites.

Module Entry Description
Navigation menus /admin/navigations Custom nav items (more flexible than sections, supports external links)
Friend links /admin/friendlinks Shown in the footer or link-exchange area

Step 6: Media Library

Entry: Admin panel → Media Library (/admin/media).

  • Lists all files under static/uploads/, with automatic image detection;
  • Uploaded images are compressed and converted to AVIF in the browser (WebP if unsupported) before submission; the server performs real-type validation as a fallback;
  • Admin upload whitelist: .jpg .jpeg .png .gif .webp .avif (.svg is excluded from the upload whitelist due to XSS risk, but can still be placed manually as a static asset and referenced);
  • Unused media cleanup: /admin/media/unused finds unreferenced files, then clean them up in one click.
⚠️ 注意

Deleting media only removes the file; references to it in articles are not removed automatically. Verify no body content references it before deleting.

Step 7: Templates and Colors

  • Switching templates: Site Info → Template path dropdown; select and save to take effect, no restart needed;
  • Template marketplace: filter by industry in the console, view previews, click “Apply”;
  • Template IDs look like theme_bakery, theme_blog, theme_carwash;
  • Multi-site scenario: choose a template path per site (including language sub-sites) in “Site Management”; language sites enabled with one click already come with an independent copy of the Chinese template.

Switching updates all enabled pages for that site and reloads templates; paused / expired sites pick it up at their next start.

Step 8: Multi-Site and Multi-Language

Entry: Admin panel → Site Management (/admin/sites); switch the current site via /admin/switch-site.

  • The structure is “one language = one site + one independent template set + one language pack”;
  • The default site (e.g. Chinese) is the main site; each added language generates a site for that language;
  • Each language site’s URL carries a prefix, e.g. /en/, /ja/;
  • hreflang cross-links and canonical normalization are generated automatically, and a language switcher appears on the front end.

One-click enable (recommended): on the Site Management page, check languages under “Enable language sites with one click” → click “Enable selected languages”. The system automatically creates the sites, copies the Chinese site’s company info and section/navigation skeleton, and clones an independent template directory for that language from the Chinese site’s current template (for multi-tenant, at <tenant directory>/templates/<language code>/). Enabled languages are marked “Enabled”; resubmitting does not duplicate sites or overwrite templates.

After that, switch to the language site’s admin panel to enter content (or use “Copy as translation / AI site-wide translation”), and translate the fixed Chinese copy in the template copy into the target language.

You can also create sites one by one via “Add Site”: keep the template directory at the default “auto-create” and the system will likewise generate an independent template directory based on the site code.

Multi-language front ends require a Professional license or above; Basic can build sites but /en/ will not take effect. See Multi-language & Going Global.

Step 9: SEO and GEO

What Where
Fill the three SEO fields Each content edit page / Site Info
Active push (Baidu / Bing / 360 / IndexNow) Configuration → corresponding tab; “auto-push on save” available
Indexing JS (Baidu auto-push / Toutiao auto-index / custom) Configuration → Indexing JS
Analytics code (just enter the ID) Configuration → Indexing JS
View sitemap / robots / RSS / llms.txt Front end: /sitemap.xml, /robots.txt, /rss.xml, /llms.txt

The platform handles automatically: canonical, hreflang, JSON-LD (Organization / WebSite / Article / Product / BreadcrumbList), Open Graph, RSS (latest 50 items), sitemap (auto-sharded), llms.txt / llms-full.txt, and 410 responses for dead links (lets search engines clean up faster than 404).

Step 10: Static Generation and Publishing

Generate: Admin panel → Generate (/admin/generate), renders the whole site into static HTML under htm/ with real-time progress; supports incremental generation by scope (home page / policy files / lists / sections / details) and incremental generation by date of change.

Publish (/admin/deploy): pushes htm/ to external storage.

Capability Description
8 storage types FTP, Tencent Cloud COS, S3-compatible storage, Cloudflare R2, Cloudflare Pages, Netlify, GitHub Pages, WebDAV
Plus 2 more channels EdgeOne (edge acceleration), Git repository (with CI for auto deployment)
Split by file category Each storage target chooses which categories it handles: html (HTML pages + robots/sitemap), assets (css/js/images/fonts), uploads (attachments). Configurable as “HTML abroad, attachments domestic”
Connectivity test /admin/deploy/test — read-only probe, writes no files

S3-family (S3-compatible storage / R2) shares one implementation: AWS Signature V4 written by hand on the standard library, zero external SDKs. Cloudflare R2 / MinIO / Qiniu all go through this channel; only the Endpoint, Region, and path-style setting differ. Google Cloud Storage / Azure Blob Storage have no dedicated implementation — to integrate them, use their S3-compatible (interoperability) endpoints and configure them as “S3-compatible storage”.

Step 11: Backup and Restore

Entry: Admin panel → Backup (/admin/backup).

Action Description
Create / download backup Create and download from the backup list
Export JSON cms-backup-<timestamp>.json, includes built-in and custom model tables; restorable across database dialects
Export SQL /admin/backup/export-sql
Full database (SQLite) Performs VACUUM INTO on the database file for an instant consistent snapshot, producing a directly openable .db
Restore /admin/backup/restore, uploads JSON and upserts table by table
⚠️ 注意

Does not include actual media files under uploads/ (only database records) — back up media separately at the filesystem/mirror level. ⚠️ In multi-tenant (SaaS) mode, site database filenames are random (e.g. 9f3k2m1pq4rx.db); when restoring, target the actual .db file in that site’s directory, not the name cms.db.

Step 12: Audit Log

Entry: Admin panel → Audit Log (/admin/audit), records logins, content create/edit/delete, media deletion, backup/restore and other key operations; supports export (/admin/audit/export).

Step 13: System Update (Operations Info)

Entry: Admin panel → System Settings → System Update (/admin/system-update).

Shows: program version / build time, Go version, database size, uptime, static site size.

Maintenance actions: clear runtime logs (/system/clear-logs), optimize the database (/system/optimize-db, runs VACUUM on SQLite).

Step 14: Permission Management

Module Entry Description
Administrators /admin/admins Add/remove site admin panel users
Roles /admin/roles Custom roles and permissions

Mail Settings

Entry: Admin panel → Mail Settings (/admin/mail). Once SMTP is configured, two features can be enabled:

Feature Trigger Token Validity
Forgot password “Forgot password?” on the login page → reset via emailed link 30 minutes · one-time
New user email verification Sent automatically when creating an admin in the panel 24 hours · one-time

Supports SSL(465) / STARTTLS(587) / no encryption(25). Passwords are stored obfuscated in the database and never echoed back on the page.

Read-Only Mode: Why You “Can’t Save”

Admin panel read-only state has two unrelated sources, and the message will point you to the right place for each:

Source Trigger Message How to Resolve
Trial read-only The platform injects CMS_READONLY=1 based on site status “This site is in trial (read-only mode)… upgrade to a paid plan to edit” Upgrade to a paid plan (the platform restarts the engine)
Subscription locked Subscription reached a terminal state (canceled / unpaid / expired / payment incomplete) or the current period has ended “Subscription expired, admin panel locked; it unlocks automatically after renewal — the public site is unaffected” Complete the renewal; it recovers automatically

When read-only, only write operations are blocked (save, upload, generate, publish); browsing is fully allowed, and the public site remains accessible at all times. A few APIs needed to “enter/recover a browsable state” remain open (switching sites, clearing cache, activating the license).


Quick Troubleshooting

Symptom Cause / Fix
Content changed but front end unchanged ① Check the save succeeded (are you in read-only mode?); ② page cache not expired — click “Clear cache” in the panel; ③ if static direct-read is on, confirm the page was rebuilt
Pages unchanged after switching templates No .html files at the root of the template folder (won’t be loaded); or page cache not expired
Image upload fails Extension not in the whitelist (.svg/.bmp cannot be uploaded); or exceeds the per-file size limit
A static asset returns 403 Extension not in the allowed list (direct access to .html is intentionally forbidden)
URL rules changed but links unchanged The static site must be regenerated to use the new rules
Language sub-site links lost their language prefix Detail links are hardcoded as /news/ in the template — you must use “
Admin panel reports “no such table” Database file mismatched with its -wal / -shm (common after manually swapping the db file)

Related docs: CMS Admin Panel Workflow · Template Development Workflow · Static Site Publishing · Site Backup & Migration · SEO & GEO

This site uses cookies for essential functionality and to improve your experience. See our Privacy Policy.