How to do if canonical link not in head section shopify

Solved

How to do if canonical link not in head section shopify

mythgreece
Excursionist
57 0 6

Hi, there,

The seo inspector showed that canonical link not in head section. How can I fix it?

Accepted Solution (1)

oscprofessional
Shopify Partner
16402 2444 3194

This is an accepted solution.

Hi @mythgreece ,

To fix the canonical link issue:

  1. Go to Online Store > Themes > Actions > Edit Code.

  2. Open theme.liquid in the Layout folder.

  3. Add this inside the <head> section if it's missing:

    <link rel="canonical" href="{{ canonical_url }}">
  4. Save and test using your SEO Inspector.

oscprofessional_0-1735282580922.png

 

Hire us | Pass Core Web Vital | B2B Wholesale Experts | Claim Your Free Website Review |
Connect with Us: WhatsApp | Skype: oscprofessionals-87 | Email: pallavi@oscprofessionals.com |
Custom Shopify SolutionsPrivate Apps, Theme Customization & SEO | Digital Marketing |
OSCP Apps: Discount Suite | Wholesale App | Bundle & Upsell | Shipping Discount | and more...

View solution in original post

Reply 1 (1)

oscprofessional
Shopify Partner
16402 2444 3194

This is an accepted solution.

Hi @mythgreece ,

To fix the canonical link issue:

  1. Go to Online Store > Themes > Actions > Edit Code.

  2. Open theme.liquid in the Layout folder.

  3. Add this inside the <head> section if it's missing:

    <link rel="canonical" href="{{ canonical_url }}">
  4. Save and test using your SEO Inspector.

oscprofessional_0-1735282580922.png

 

Hire us | Pass Core Web Vital | B2B Wholesale Experts | Claim Your Free Website Review |
Connect with Us: WhatsApp | Skype: oscprofessionals-87 | Email: pallavi@oscprofessionals.com |
Custom Shopify SolutionsPrivate Apps, Theme Customization & SEO | Digital Marketing |
OSCP Apps: Discount Suite | Wholesale App | Bundle & Upsell | Shipping Discount | and more...