|
/ Documentation /Troubleshooting/ Using SureDash and LifterLMS Lessons Together

Using SureDash and LifterLMS Lessons Together

Both SureDash and LifterLMS include a Lessons feature. By default, both plugins use the same URL format for lessons:

/lesson/your-lesson-name/

Why does this cause a problem

WordPress can only use one plugin for a specific URL path.
When two plugins try to use the same lesson URL, WordPress will show lessons from only one of them.

This is normal WordPress behavior and is not a bug in either plugin.

The solution

To use SureDash and LifterLMS together, you need to change the lesson URL for one plugin. In this guide, we will change the SureDash lesson URL.

Change SureDash Lesson URL

We will update SureDash lessons from:

/lesson/

to:

/sd-lesson/

Step 1: Open the functions.php file

  1. Go to Appearance → Theme File Editor in your WordPress dashboard
  2. Open the functions.php file of your active theme

Tip: If you are using a child theme, make sure you edit the child theme’s functions.php file.

Step 2: Add the code snippet

Copy and paste the code below at the very end of the functions.php file:

// Change SureDash lesson URL to avoid conflict with LifterLMS
add_filter( 'suredash_community_content_post_lesson_slug', function() {
    return 'sd-lesson';
});

Step 3: Save the file

Click Update File to save your changes.

Step 4: Refresh permalinks

  1. Go to Settings → Permalinks
  2. Click Save Changes without changing anything

This step refreshes WordPress URLs and is very important.

Final result

After completing these steps:

  • LifterLMS lessons will be available atyoursite.com/lesson/lesson-name/
  • SureDash lessons will be available atyoursite.com/sd-lesson/lesson-name/

Both plugins can now work together without any URL conflicts.

If you need help with child themes or want to confirm the change worked correctly, feel free to reach out to our support team. We are happy to help.

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

On this page
Scroll to Top