Skip to content
Available for new work
Pages in Blog

GuidePremium

Categories, tags and authors

Manage categories, tags and authors in the Laravel Blog admin, every list column, form field and action, and what happens to public addresses when a slug changes or an item is deleted.

Updated 16 November 2026Back to the package pageBuy

Categories, tags and authors are the three things a post points at. They live in the Content group of the sidebar, beside Posts, and every list shows only the items of the blog chosen in the blog switcher. Categories and tags need the abilities blog.categories.manage and blog.tags.manage; authors need blog.authors.manage (see the abilities reference). To attach them to a post see the post editor.

When a public address changes#

Categories, tags and authors have public pages, so the package treats their addresses the way it treats post addresses:

  • Slug changed: the old address gets a 301 redirect to the new one, in every language the blog has. In the admin a notification says "Slug changed. A 301 redirect from the old address was created." with an Open redirect button.
  • Deleted: the address returns a 410 Gone, except where something takes over. A deleted category with a parent redirects (301) to the parent in the same language; a deleted author redirects to the replacement author you chose. Tags always return 410.
  • Switch: deletes are controlled by the setting redirects.gone_on_delete (default on). With it off nothing is created.

The redirects appear in Search, Redirects, where you can edit or remove them. See configure.

The Hits column of these redirects counts each visit once (see Redirects).

Categories#

The Categories list: Guides with the children Tents and Layering indented below it, then Trail stories and Gear

Children show indented under their parent with a dash. New category* is at the top right.*

The Categories list on a phone

The same list at phone width.

Categories form a tree. The list is in tree order and has no search or filters.

List columns#

The columns Name, Slug, Is active and Posts

Each row is one category.

  • Name: the name in the blog's default language, with a dash for each level of depth.
  • Slug: the slug of the first language version.
  • Is active: a green tick or a cross. Inactive categories are not shown publicly.
  • Posts: how many posts are in the category.

Reorder by dragging#

The list in reorder mode with drag handles beside each row

Press the arrows icon at the top left of the table to switch drag handles on; drag a row, then switch it off again.

Dragging saves the new order of the categories at once; it changes the order of the categories, not the tree.

Move#

The Move modal with a New parent select

The Move modal offers every other category, indented, and Top level.

  • Where: Move in each row.
  • New parent: any other category of the blog, or empty for Top level (the placeholder).
  • Limit: a move that would make the tree deeper than categories.max_depth (default 6 levels) is refused with a notification.
  • Use it when: you want to re-parent a category without opening its form. The form has a Parent field that does the same.

Edit and delete#

The delete confirmation for a category

Deleting asks for confirmation.

  • Edit opens the form below.
  • Delete asks you to confirm. It is refused with a notification while the category has child categories ("The category has 2 child categories and cannot be deleted."); move or delete them first. Otherwise its posts are detached from it, its translations are removed and its address redirects as described above.

Create and edit form#

The category form: Parent, Active, Show in the blog menu, Image, Listing layout and Posts per page, then the language tabs

The edit form. The new category form (categories-create) has the same fields, empty.

  • Parent: a searchable select of the other categories. Placeholder "None (top level)". It cannot reach categories.max_depth (default 6) levels ("The category tree is not allowed to go that deep."). Default: none.
  • Active: on or off, default on.
  • Show in the blog menu: on or off, default on. Controls whether the category is included in the blog menu.
  • Image: an upload, stored in cwb/categories. Default none.
  • Listing layout: Grid or List. Placeholder "Default (the blog setting)", which follows the blog setting. Sets how this category's page lays out its posts.
  • Posts per page: a whole number from 1 to 100. Helper: "Leave empty to use the blog setting." Default empty.

Language tabs#

The language tabs of the category form with Name, Slug, Description and Image alt text

One tab per language the blog has, labelled with its code in capitals. Fill the tabs you want; an empty tab (no name) is not saved.

A new category needs a name in at least one language ("A category needs at least one translation.").

  • Name: up to 255 characters. The name readers see.
  • Slug: up to 255 characters. Empty generates one from the name. Helper: "Leave empty to generate one from the name." Changing it redirects the old address.
  • Description: 3 lines, optional. Shown on the category page.
  • Image alt text: up to 255 characters. Alt text for the category image.

Category SEO#

The collapsible SEO group in a language tab: meta title, meta description, robots and a search result preview

Open the SEO group at the bottom of a language tab. The preview updates as you type.

  • Meta title: up to 255 characters. Empty uses the default made from your title template.
  • Meta description: 2 lines, up to 500 characters. Empty uses the default.
  • Robots: Blog default (placeholder), index, follow; index, nofollow; noindex, follow; noindex, nofollow. Sets what search engines may do with the category page.
  • Search preview: a read only box showing how the page may look in search results. No setting.

Tags#

The Tags list with the columns Name, Posts and Is active and Edit and Delete in each row

A flat list. New tag* is at the top right.*

List columns#

The tag list columns

Name, Posts and Is active.

  • Name: the name in the blog's default language.
  • Posts: the number of posts with the tag.
  • Is active: a tick or a cross.

Edit and delete#

The delete confirmation for a tag

Deleting a tag asks first.

Edit opens the form. Delete asks you to confirm, makes the tag's address return 410 Gone.

Create and edit form#

The tag form with the Active switch and the language tabs

The edit form. The new tag form (tags-create) has the same fields, empty.

  • Active: default on. Helper: "An inactive tag is hidden from the public site; its posts stay published."
  • Name, Slug, Description: per language tab, exactly as for categories. Name up to 255; slug empty to generate; description 3 lines. A tag needs a name in at least one language. Changing a slug redirects the old address.

Tag SEO#

The tag form with its language tabs and SEO group

The SEO group is the same as the category one.

Meta title, meta description, robots and the search preview behave exactly as in Category SEO. Tag pages with few posts can also be set to noindex automatically with a blog setting, see configure.

Authors#

The Authors list with the columns Name, Slug, Job title and Is active

*New author is at the top right. With no authors the list reads "No authors yet".*

A post needs at least one author, so create one before your first post.

List columns#

The author list columns

Name, Slug, Job title and Is active.

  • Name: searchable with the box above the table.
  • Slug, Job title (a dash when empty), Is active (a tick or a cross).

Create and edit form#

The author form with Name, Slug, User, Job title, Bio, Email, Avatar, Active and Links

The edit form. The new author form (authors-create) has the same fields, empty.

  • Name: up to 255 characters. Shown as the byline.
  • Slug: up to 255 characters. Empty generates one from the name. Changing it redirects the old author page in every language.
  • User: a searchable select of your application's users, found through the author provider you bound. Placeholder "Not linked to a user". Link an author to a user when staff write under their own name. Default: not linked.
  • Job title: up to 255 characters, optional.
  • Bio: 4 lines, optional. A short biography of the author.
  • Email: an email address, up to 255 characters, optional.
  • Avatar: an image upload, stored in cwb/authors. Default none.
  • Active: default on. Off marks the author inactive.

The Avatar field shows the stored picture with its file name and size. A picture stays on the disk it was uploaded to; uploading another file or pressing the cross at the top left of the preview changes it.

The Links list on the author form with an Add a link button

The list starts empty. Each row is one link; drag to reorder.

  • Links: a list, default empty. Add a link adds a row.
  • Network: required. Website, Linkedin, X, Github, Bluesky, Mastodon, Facebook, Instagram, Youtube or Other. Each network can be used once per author.
  • Address: required, a full URL, up to 2048 characters.
  • What it changes: the links shown for the author on the front end.

Edit and delete#

The delete author modal with a Replace on posts with select

Deleting an author asks who takes over their posts.

  • Edit opens the form above.
  • Delete opens a modal with Replace on posts with: a select of the blog's other authors, placeholder "No replacement".

    • An author who is on posts cannot be deleted without a replacement ("The author is on 3 post(s); choose a replacement author first.").
    • With a replacement, the replacement takes the author's place on every post, keeps the primary flag, and is not listed twice if already on the post. The old author page redirects to the replacement's page.
    • An author on no posts is deleted straight away and their page returns 410 Gone.

Available for new work

UK based · PHP · Python · JS · TS. Every first call is free.