---
title: urlString
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/webhistoryitem/urlstring
---

# urlString

The string representation of the URL for the receiver’s page.

## Declaration

```swift
var urlString: String! { get }
```

## Discussion

Discussion This URL may differ from the original URL if the page was, for example, redirected to a new location.

## See Also

### Getting URL information

- [originalURLString](webkit/webhistoryitem/originalurlstring.md)
