---
title: 'Liquid objects: canonical_url'
description: The canonical URL for the current page.
source_url:
  html: 'https://shopify.dev/docs/api/liquid/objects/canonical_url'
  md: 'https://shopify.dev/docs/api/liquid/objects/canonical_url.md'
api_name: liquid
---

# canonical\_​url

The canonical URL for the current page.

To learn about canonical URLs, refer to [Google's documentation](https://support.google.com/webmasters/answer/139066?hl=en).

### Directly accessible in

* Global
