---
title: "#url-structure — seo-mcp"
description: "SEO tips tagged URL Structure."
url: "https://seo-mcp.io/tag/url-structure"
---

# #url-structure

6 published tips tagged “URL Structure”.

- [Canonicalize duplicate URLs](https://seo-mcp.io/t/canonicalize-duplicate-urls) — Duplicate URLs split signals across protocol, host, slash and parameter variants. Pick one canonical form, emit one absolute self-referencing canonical per page, and align internal links, sitemap entries, hreflang and og:url with it. Use redirects when the duplicate should not exist at all.
- [Use descriptive URL slugs](https://seo-mcp.io/t/use-descriptive-url-slugs) — Descriptive slugs help users and give crawlers a topical hint. Keep them short, lowercase, hyphenated and stable. When a slug must change, redirect the old path with a single 301 and update internal links. Avoid dates, session IDs and uppercase characters that create duplicate URLs.
- [Set canonicals and sitemap with Astro integrations](https://seo-mcp.io/t/set-canonicals-and-sitemap-with-astro-integrations) — Astro needs a production site value before canonicals and sitemaps can be correct. Set site in astro.config.mjs, install the @astrojs/sitemap integration, and let it emit sitemap-index.xml with child files. Then render an absolute canonical in the layout from Astro.url and Astro.site so every page references itself.
- [Fix duplicate product variant URLs](https://seo-mcp.io/t/fix-duplicate-product-variant-urls) — Variants often create near-duplicate URLs for the same item. Choose one page with variant selection and a single canonical, or separate URLs when demand and unique content justify them. Never canonicalize a variant to a different product, and keep the base URL stable across site and feed.
- [Use a separate URL for each language](https://seo-mcp.io/t/use-a-separate-url-for-each-language) — Give every language version its own stable URL. Use a subdirectory or subdomain consistently, do not auto-redirect the first request by browser language, and offer a visible language switcher. Keep one canonical per language and annotate the set with hreflang.
- [Shorten and clean URL slugs for on-page SEO](https://seo-mcp.io/t/shorten-and-clean-url-slugs-for-on-page-seo) — Rewrite each page's URL slug to two or three lowercase, hyphen-separated words built around the primary keyword. Drop underscores, capital letters and dates or numbers that do not describe time-sensitive content. Cleaner slugs are easier to read in search results and restate the target keyword in the URL; apply the rule to new content and templates first.
