diff --git a/content/en/content-management/urls.md b/content/en/content-management/urls.md index 4f781b34e..fda5f198c 100644 --- a/content/en/content-management/urls.md +++ b/content/en/content-management/urls.md @@ -235,18 +235,15 @@ The alias from the previous URL to the new URL is a client-side redirect: https://example.org/posts/new-file-name/ - ``` -Collectively, the elements in the `head` section: +The `link rel="canonical"` tag informs search engines that the new URL is the preferred or "canonical" version of the page. This is crucial for SEO, as it prevents issues with duplicate content by consolidating all ranking signals to a single URL. -- Tell search engines that the new URL is canonical -- Tell search engines not to index the previous URL -- Tell the browser to redirect to the new URL +The `http-equiv="refresh"` meta tag instructs the web browser to automatically redirect the user to the new URL. This ensures that anyone who accesses the old alias URL is seamlessly taken to the correct, updated page. Hugo renders alias files before rendering pages. A new page with the previous file name will overwrite the alias, as expected.