Step 2.8: Redirections
Basic Concepts | On-Page | Canonicalization
Redirections, or redirects, are not specific to canonicalization, but they can help to resolve a lot of types of canonical duplication issues. We only cover these in their context for canonical issues within this section.
A redirect is when a user accesses a URL but is automatically redirected to another URL
In the example we gave where the home page was accessible from many different URLs; you could setup redirects to ensure that only the following URLs are accessible:
- include www
- Don’t include trailing slashes
- Only allow root domain (not index page)
- Force the use of lowercase characters
There are more components, but you get the idea… This makes a page accessible from only one URL.
Using this in conjunction with a canonical tag, doubles-down on your safeguards. Should you have neglected a type of canonical duplication with your redirects, the canonical tag will prevent the problem.
This also helps to tidy up your site, preventing people (for the most part) from linking to non-canonical pages.