-
Step 1 · Define the course structure
Break the course into a catalogue and lessons
Verified: 2026-11-23
Before touching a server or domain, map the course on paper: one course = one catalogue page plus N lesson pages.
For each lesson write three things: the title, what the student will be able to do after it, and whether it needs a downloadable (notes or source files).
Keep each lesson to roughly 10–15 minutes of reading; split it further if longer. The catalogue page only holds lesson titles, a one-line intro, and a link to each lesson.
Checklist
- At least 5 lessons listed
- Each lesson says what the student gains
- Lessons needing downloads are marked
-
Step 2 · Build the catalogue and lesson pages
One HTML template for all lessons
Verified: 2026-11-23
Create an index.html catalogue and one lesson.html template.
The catalogue is a card list: lesson number, title, short intro, and a Start button linking to lesson.html?n=1, ?n=2 and so on.
The lesson page uses the same template and reads its body from a JSON file such as data/lessons.json, so adding a lesson means editing JSON, not HTML.
The whole site is static: it runs on any object storage or static host, with no database and no server-side rendering.
Checklist
- Every catalogue card links to a lesson
- Lesson pages read content from JSON
- Cards do not overflow on mobile
-
Step 3 · Add third-party checkout
Take payment through an existing checkout page
Verified: 2026-11-23
Do not integrate a payment gateway yourself. Use a third-party checkout page (a course shop or form payment) to generate a payment link; students pay there and receive course access.
Put an Enrol button on the catalogue pointing to your payment link. Payments, invoicing and refunds are handled by the platform; you only deliver the content.
Keep free preview lessons separate from paid ones: previews are public, paid lessons go only to people with the link. Do not expose all paid content in plain HTML.
Checklist
- Enrol button points to a working checkout link
- Preview and paid lessons are separated
- Paid content is not exposed in public URLs
-
Step 4 · Launch and get indexed
Static hosting, sitemap and active submission
Verified: 2026-11-23
Upload the generated static files to a host (object storage with CDN, or any static host), bind a domain and enable HTTPS.
Generate sitemap.xml listing the catalogue and all lesson pages, then submit it to Baidu Webmaster Tools and Google Search Console.
Give each lesson a title of Course name + Lesson title, and a description of what the student gains — these long-tail questions are the main organic search entry for a course site.
Checklist
- Whole site reachable over HTTPS
- sitemap.xml lists every lesson URL
- Sitemap submitted to both search consoles
-
Step 5 · Acceptance: walk a student path
From search hit to payment to completion
Verified: 2026-11-23
Open an incognito window and act as a new student: search a course question, open a lesson, read the preview, click Enrol, pay, open the paid lesson link, finish the last lesson.
Record the time and friction at each step. If any step takes more than three clicks or needs you to intervene manually, simplify the flow.
A course site is a long-term asset: after launch, refresh lesson content and the sitemap once per term rather than changing code often.
Checklist
- Incognito window completes the full path
- Search hit to enrol takes at most 3 clicks
- Paid lesson opens after payment