---
title: req.url.path
summary: null
url: >-
  https://www.fastly.com/documentation/reference/vcl/variables/client-request/req-url-path
---

**Type:** STRING  
**Access:** read-only

**Available in:** all subroutines

The full path, without any query parameters.

This variable is updated any time `req.url` is set.

## Example

In the request `www.example.com/inner/index.html?a=1&b=2`, `req.url.path` will
contain `/inner/index.html`.
