Skip to content
AI-powered appsNewChat, vision, voice, generationBookings & schedulingAppointments that book themselvesShops & sellingA storefront in every pocketClient & businessRun the operation from one placeCommunities & clubsA home that is not a group chat
Health & wellnessHabits, tracking and calmGames2D, 3D and multiplayerPersonal & toolsThe tool you wish existedInternal toolsThe tool ops never had time for
See all use cases
ArcadeNewPricingSecurity
EngineThe game engine and World EditorHow it worksFrom one sentence to a live productDocsGuides for building and publishingBlogStories, guides and newsChangelogWhat shipped latelyStatusUptime of every serviceSupportGet help from the team
AI-powered appsBookings & schedulingShops & sellingClient & businessCommunities & clubsHealth & wellnessGamesPersonal & toolsInternal tools
See all use cases
ArcadeNewPricingSecurity
EngineHow it worksDocsBlogChangelogStatusSupport
Language
Blog
GlossaryNovember 22, 20263 min read

What is a canonical URL?

The same page often answers at several addresses. A canonical tag tells search engines which one is the original, so ranking signals are not split between copies.

Startbase Team
Editorial ink illustration of a stack of photocopies with an original page on top bearing a wax seal, the seal in ember orange

Key takeaways

  • A canonical URL is the preferred address of a page that is reachable at more than one address.
  • Set it with `<link rel="canonical" href="...">` in the page head; every page should name its own clean address.
  • With a custom domain, point canonicals at that domain rather than the default startbase.app address.

A canonical URL is the single address you declare as the official version of a page when the same or nearly the same content can be reached at several addresses. Search engines then concentrate links, ranking signals and the search listing on that address instead of guessing between copies.

An everyday comparison: a contract signed in three copies. All three say the same thing, but the one with the original signature and seal is the one that counts. The canonical tag is that seal.

How duplicate addresses happen

Nobody sets out to publish duplicates. They appear on their own:

  • Two domains: `myapp.startbase.app` and `myapp.com` both serve the site after you add a custom domain.
  • www and no www, or http and https.
  • Trailing slashes: `/pricing` and `/pricing/`.
  • Tracking parameters: `/pricing?utm_source=newsletter` is the same page with a label attached.
  • Sorting and filters: `/recipes?sort=new` and `/recipes?sort=popular` show the same list reordered.
  • The same item in two paths: `/recipes/lemon-pasta` and `/collections/summer/lemon-pasta`.

Left alone, search engines pick a version themselves, which may be the tracking link from a newsletter or the default subdomain you no longer promote.

How to set it

Add one line to the head of each page: `<link rel="canonical" href="https://myapp.com/pricing">`. Rules that keep it working:

  1. 01Every indexable page names its own address (a self-referencing canonical), not the home page.
  2. 02Use absolute URLs with the protocol and the domain you want to rank.
  3. 03Strip tracking parameters and pick one trailing-slash style.
  4. 04List only canonical addresses in your XML sitemap and internal links, so every signal agrees.
  5. 05Where you control the server, also redirect the duplicates (301) to the canonical. A redirect sends people and crawlers there; a canonical tag only advises crawlers.

Canonical URLs on a Startbase site

The most common case on Startbase is the two-domain one. Once you connect a custom domain, the site is reachable at both your domain and its `startbase.app` address. The SEO and GEO docs recommend a canonical tag on every page pointing to its own URL for exactly this reason. Because Startbase sites are React single-page apps, ask for the tag to be present per route and check it in the page source.

Add a canonical link tag to every public page, using https://myapp.com as the base no matter which address the visitor used. Remove query parameters like utm_source from the canonical, use no trailing slash, and make sure the sitemap and all internal links use the same canonical addresses.

Common confusions

  • "Canonical is a command." It is a strong hint. If other signals disagree (sitemap, links, redirects), search engines may choose differently.
  • Canonical vs noindex. Canonical says "this content lives over there". Noindex says "do not list this page at all". Using both on one page sends mixed messages.
  • Pointing everything at the home page. A blanket canonical to `/` tells search engines your other pages are copies of the home page, and they may drop out of results.
  • Paginated lists. Page 2 of a list is not a copy of page 1; give it its own canonical.

To check a page, open View Page Source and search for "canonical". In Google Search Console, the URL Inspection tool shows both the canonical you declared and the one Google actually chose; when they differ, look for a sitemap entry, internal link or redirect that points the other way.

Canonicals sit alongside the other head tags described in what meta tags are. For the wider picture, see SEO for your app.

Frequently asked questions

Is duplicate content a penalty?

Ordinary technical duplicates like tracking parameters are not penalized; search engines just pick one version. Canonicals make sure they pick the one you want.

Can a canonical point to another website?

Yes. When you republish an article on another site, the copy can name the original as canonical so the original keeps the search credit.

On this page

  • How duplicate addresses happen
  • How to set it
  • Canonical URLs on a Startbase site
  • Common confusions

Keep reading

More in Glossary
Editorial ink illustration of a hand-cranked music box drum plucking a metal comb, the crank handle in ember orange
GlossaryNovember 22, 2026

What is a game loop?

Every real-time game runs one repeating cycle: read input, update the world, draw it. Here is what that cycle looks like and why it decides how your game feels.

3 min read
Editorial ink illustration of a brass stopwatch beside a small wind-up toy car, the second hand in ember orange
GlossaryNovember 22, 2026

What is delta time?

Delta time is the number that keeps your game the same speed on every screen. Here is how to use it, where it breaks, and how to spot a game that forgot it.

3 min read

Read less. Ship more.

Everything in this post is one prompt away. Describe your app and watch it build.

Start building

Apps, games, backends and publishing from one conversation.

Product

  • Features
  • Use cases
  • Pricing
  • Changelog

Resources

  • Blog
  • Docs
  • Support
  • Status
  • Security

Contact

  • w@startbase.ai
  • X / Twitter
  • LinkedIn
  • Instagram

Legal

  • Terms
  • Privacy

© 2026 Startbase. All rights reserved.