AnHonestHost DevandClaude Opus 5 063f992516 chore: version-control the WHMCS KB redirect rules
These 301s live in .htaccess on secure.anhonesthost.com and existed only
on that server. WHMCS rewrites .htaccess during some updates, which would
silently drop them — every retired KB URL would start 404ing with nothing
in version control to restore from.

deploy/README.md documents where it installs, how to reinstall, and the
two traps: article/category IDs collide (only the trailing .html tells
them apart, so rule order is load-bearing) and the slug is ignored.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-01 17:27:59 -07:00

kb.anhonesthost.com

The An Honest Host knowledge base — customer documentation for WHP (our hosting platform) and related services.

Live at: https://kb.anhonesthost.com

Run locally

Requires Node 20+ (we test on 22).

npm install
npm run dev
# open http://localhost:4321

To expose the dev server on a different host/port (useful inside containers):

npm run dev -- --host 0.0.0.0 --port 8080

Adding or editing a doc

See CONTRIBUTING.md — it covers the page template, where files live, and how PRs are reviewed.

How it deploys

Push to main triggers a Gitea Actions workflow that builds the site and uploads it via SFTP to the production WHP site. No manual deploy step.

Licence

Content: CC BY 4.0. Build config and scripts: MIT (see source headers if any).

S
Description
kb.anhonesthost.com — customer documentation for WHP and other AnHonestHost services. Astro Starlight static site.
Readme CC-BY-4.0
7.3 MiB
Languages
MDX 73.3%
TypeScript 18.4%
Astro 4.9%
CSS 1.7%
JavaScript 1.7%