astro-wpress.ncvp.me

using ncvp.me/wp for all content

Posts from May 2026

Subtle changes

Applied the standard fix to the database to set everything to utf8mb4_general_ci. That made the ASCII art in the post about Astro routing work. Renamed the database to admin2_ncvp_me_wp. Had to apply admin2_17926 user privileges to new database. I don't remember having to do that before. Re-applied box-sizing: border-box to ncvp-class style.css. That fixed the […]

Categories & Tags

Categories and tags are the two default WordPress taxonomies used to organise content, with categories serving as broad, mandatory groupings (like topics in a library) and tags providing specific, optional keywords for granular details. Categories are hierarchical (parent/child), while tags are not. In practice individual sites will have their own guidelines for how to use […]

Sort out astro-wpress routing

This is all about the mapping between site-url/xxxx/yyyy/zzzz and Astro pages. Even though there are no files in the /src/pages tree, the magic files [slug].astro, [...path].astro perform the same sort of rôle as if there were. Add these to /src/: └── pages    ├── author    │   └── [slug].astro    ├── category    │   └── […]

Rendered by src/pages/[year]/[month].astro