How to Solve Your Canonical Problem

You might have two versions of the same page indexed on Google. One of the pages will have a backslash at the end and the other won’t.

Duplicate versions of the same page indexed on Google can harm your search rankings. This happens when Google doesn’t know which version of your page to rank.

If you have a self-referencing canonical you won’t have this problem (it tends to be an issue for older sites). Here’s how to check if your URL is self-referencing, and the code you need to add if it isn’t.

Download a Chrome extension like Detailed. Activate the extension on your domain.

If you have a green tick everything is fine.

If you don’t have a green tick; check what version of your site is most commonly indexed. You can do that by looking at which version of your most popular posts appear in the search results.

To set up a site-wide canonical URL, add the following code to the <head> section of your HTML document:

Copy code: <link rel=”canonical” href=”” />

Replace “” with the canonical URL of your website. 

This code tells search engines that this is the preferred version of your URL to index and display in search results. Alternatively, you can use the version without the backslash.

When someone loads your site, it will always direct to the version with or without a backslash.

Share This Post

Get a Fortnightly SaaS Marketing Newsletter That Makes You Smarter

Our newsletter is like Miracle Grow for marketers. We comb social media and the web for smart marketing ideas. The emails cover topics like SEO, UX design, copywriting, and social media marketing. It’s short and to the point (less than five minutes to read).

You’ll love it I promise. Sign up below.

More To Explore