Skip to content

Routing and permalinks #3

Closed
Closed

Description

@n4ff4h

Admin and public routes per post type, with configurable permalink structures.

Activity

  1. added
    next-genNext-gen Javaabu packages
    featurePackage feature from the spec
    on Nov 4, 2026
  2. n4ff4h commented on Nov 5, 2026

    @n4ff4h
    CollaboratorAuthor

    Done. Route::postTypesAdmin() and Route::postTypes() register per-type routes (admin: index, CRUD, trash, restore, force delete, bulk, terms; public: archive, term archive, single). Permalink structures use {slug}, {id}, {year}, {month}, {day} and taxonomy keys; config('post-types.permalinks') overrides base and structure. Other paths to a post 301 to its permalink. Decision: the post URL is Post::permalink() and a term archive is Term::archiveUrl($type), because javaabu/translatable's trait owns url().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurePackage feature from the specnext-genNext-gen Javaabu packages

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions