CANON
Canonical & Robots Meta Generator
Generate canonical link and robots meta tags to control indexing per page
Most pages should declare themselves. Point elsewhere only for a duplicate of another URL.
Tags for <head>
<meta name="robots" content="index, follow" />
About this tool
robots.txt controls crawling for the whole site, but indexing is decided page by page. A missing canonical splits ranking signals across duplicate URLs, and blocking a page in robots.txt does not keep it out of search results — only a noindex meta tag does. This generator writes both tags correctly.
How to use
- Enter the canonical URL for this page.
- Choose whether the page should be indexed and whether links should be followed.
- Review the generated tags.
- Copy them into the page <head>.
FAQ
Should the canonical URL point to itself?
Yes, that is the normal case. A page declares itself canonical unless it is a duplicate of another URL, in which case it points to the original.
Why not just block the page in robots.txt?
A blocked URL can still be indexed from external links, just without a snippet. To keep a page out of results you must allow crawling and serve a noindex meta tag, so the crawler can actually read the directive.
Does noindex also remove the page from the sitemap?
No, they are separate. A noindex page should be dropped from the sitemap too — submitting a URL you do not want indexed sends contradictory signals.