← Back to Docs
  • Variables
    • basename
    • collection
    • count
    • csrf_field
    • csrf_token
    • current_uri
    • current_url
    • date
    • datestamp
    • datestring
    • edit_url
    • environment
    • extension
    • filename
    • focus
    • focus_css
    • get
    • get_post
    • has_timestamp
    • height
    • homepage
    • id
    • is_asset
    • is_entry
    • is_image
    • is_page
    • is_term
    • last_modified
    • last_segment
    • locale
    • locale_full
    • locale_name
    • locale_url
    • now
    • old
    • order
    • order_type
    • path
    • permalink
    • post
    • published
    • response_code
    • segment_x
    • site_url
    • size
    • size_bytes
    • size_gigabytes
    • size_kilobytes
    • size_megabytes
    • slug
    • taxonomy
    • template
    • timestamp
    • url
    • width
    • xml_header
  • Why Statamic?
  • Pricing
  • Docs
  • Marketplace
  • Forum
  • Try for Free
← Back to Docs
  • Variables
    • basename
    • collection
    • count
    • csrf_field
    • csrf_token
    • current_uri
    • current_url
    • date
    • datestamp
    • datestring
    • edit_url
    • environment
    • extension
    • filename
    • focus
    • focus_css
    • get
    • get_post
    • has_timestamp
    • height
    • homepage
    • id
    • is_asset
    • is_entry
    • is_image
    • is_page
    • is_term
    • last_modified
    • last_segment
    • locale
    • locale_full
    • locale_name
    • locale_url
    • now
    • old
    • order
    • order_type
    • path
    • permalink
    • post
    • published
    • response_code
    • segment_x
    • site_url
    • size
    • size_bytes
    • size_gigabytes
    • size_kilobytes
    • size_megabytes
    • slug
    • taxonomy
    • template
    • timestamp
    • url
    • width
    • xml_header

Variable: current_uri


The current URI (URL without domain).

{{ current_uri }}
/variables
Last modified on September 11, 2016
Improve Content

Statamic

  • Blog
  • Pricing
  • Changelog
  • Legacy v1

Developers

  • Documentation
  • Marketplace
  • Community
  • Discord Chat
  • Forum
  • Screencasts

Company

  • About
  • Partners
  • Testimonials
  • Contact

Resources

  • Showcase
  • Support
  • Privacy
  • Terms
  • License

Join the Newsletter

We send a monthly email with announcements, tips, news, popular addons, and other important info.

©Statamic 2025 Built by the team at Wilderborn since 2012.