Canonical URL
Canonical URL Tag
An HTML element specifying the preferred version of a page when duplicate or similar content exists at multiple URLs.
Chi tiết kỹ thuật
XML canonical urls follow the sitemaps.org protocol, listing URLs with optional lastmod, changefreq, and priority attributes. A single sitemap is limited to 50,000 URLs or 50 MB; larger sites use a sitemap index file that references multiple sitemaps. Google largely ignores changefreq and priority, relying instead on its own crawl scheduling. Sitemap submission through Google Search Console or a robots.txt Sitemap: directive ensures discovery of pages that might not be found through link crawling.
Ví dụ
```xml
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://peasytools.com/tools/pdf-merge/</loc>
<lastmod>2026-03-08</lastmod>
<changefreq>monthly</changefreq>
<priority>0.8</priority>
</url>
</urlset>
```