Skip to content

How to Fix Canonical Links for LearnDash Topics in Yoast SEO

Matt Knighton·Aug 2022·6 min read
How to Fix Canonical Links for LearnDash Topics in Yoast SEO

I regularly use SEMRush for doing SEO Audits on my websites and our client websites.

I recently spotted an error after launching our learning materials using LearnDash.

The error was prominent, over 30 errors and that really concerned me. We always have 0 errors. When I investigated we found we had a Canonical URL error.

What is a Canonical URL Error in SEMRush?

I was confused myself as to why this would be an issue but I assume this is because LearnDash topics and materials are often locked from the front end.

In the following screencast I show how to fix this error in both use cases of locked content behind a login or having free content for anyone to see.

Hope that provides help to anyone wanting to solve this issue. Let me know how it works for you.

If you want to learn more about WordPress make sure you read our learning materials and courses.

More Articles & Insights

View all articles ↗
How to Display Multiple Sidebars with Kadence Elements
Mar 2025 · WordPress & AI

How to Display Multiple Sidebars with Kadence Elements

Read Article
Fixing WordPress Emoji Saving Issues with ChatGPT Output
Mar 2025 · WordPress & AI

Fixing WordPress Emoji Saving Issues with ChatGPT Output

Read Article
Why Every WordPress Developer Should Use PHPCS and WordPress Coding Standards
Nov 2024 · WordPress & AI

Why Every WordPress Developer Should Use PHPCS and WordPress Coding Standards

Read Article

Let’s figure it out together

You don’t have to build alone.

A little guidance. A good conversation. A better next step.

Work with me

Start with a 20-minute call. I read every enquiry myself.