<!--
{
  "availability" : [
    "iOS: 26.4.0 -",
    "iPadOS: 26.4.0 -",
    "macCatalyst: 26.4.0 -",
    "macOS: 26.4.0 -",
    "tvOS: 26.4.0 -",
    "visionOS: 26.4.0 -",
    "watchOS: 26.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "LinkPresentation",
  "identifier" : "/documentation/LinkPresentation/LinkMetadata/url",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Link Presentation",
      "LinkPresentation"
    ],
    "preciseIdentifier" : "s:16LinkPresentation0A8MetadataV3url10Foundation3URLVvp"
  },
  "title" : "url"
}
-->

# url

The URL that returned the metadata, taking server-side redirects into account.

```
nonisolated var url: URL { get set }
```

## Discussion

The URL that returns the metadata may differ from the [`originalURL`](/documentation/LinkPresentation/LinkMetadata/originalURL) to which you
sent the metadata request. This can happen if the server redirects the request, for example,
when a resource has moved, or when the original URL is a domain alias.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)