DokuWiki

It's better when it's simple

User Tools

Site Tools


canonical

What are Canonical URLs?

The term Canonical is derived from mathematics and means a URL in its simplest or standard form. It is widely used within SEO circles. For example, a home page could have multiple URLs:

  http://www.mysite.com/
  http://mysite.com/
  http://www.mysite.com/index.php

These are different URLs as far as a search engine is concerned as technically a Web server could return different content for each. However, many web servers are configured to return exactly the same content:

 index.html

In this case, we should pick one version of the URL, the canonical form, and use this both internally and externally. All other forms should use an HTTP 301 permanent redirect to send search engine robots (and users) to the correct version.

See also

canonical.txt · Last modified: 2022-05-08 01:09 by Matt2

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki