Skip to content
Twig Field Finder
Theme

Path alias

Open in builder

This is a property of the entity itself, so there’s no field name to fill in.

Reads the entity directly, before field formatters run.

  1. Twig
    {{ node.path.alias }}

Gotcha

Empty when the entity has no alias. For a full URL use the url template variable or path().