Skip to content
LearnDash Support
  • Products

      LearnDash LMS Plugin

      Powering intuitive online courses with advanced management and engagement features for WordPress.

      Learn More

      LearnDash LMS Plugin + Hosting

      StellarSites Learning is a fully managed hosting solution for WordPress.

      Learn More

      Premium LMS Add-ons
      Enhance your courses with extra features. Gather insights, reward learners, protect your course content, and more!

      Explore all Add-ons

      MemberDash
      The most flexible membership plugin for WordPress. Monetize your content and build a community.

      View MemberDash

  • Pricing
  • Add-ons & Integrations

      LEARNDASH ADD-ONS

      Instructor Role

      Empower Instructor to manage courses.

      Groups Management

      Organization management, delegation and more

      ProPanel

      Advanced analytics reporting.

      Gradebook

      Track progress and create report cards.

      Notes

      Enable notetaking and two-way communication.

      Rating, Reviews, & Feedback

      Build trust and gain valuable insights.

      FEATURED INTEGRATIONS

      The Events Calendar

      Connect with the most popular events solution.

      BuddyBoss

      Powerful tools for an enhance learning experience.

      WooCommerce

      The most popular shopping cart on WordPress.

      WeGlot

      Translate your LearnDash content.

      All Integrations

      BUNDLES

      Package and save
      Save when you buy multiple plugins in a bundle.

      See all bundles.

      MORE

      Release Notes

      Get Help

  • Resources
      LearnDash Academy Videos, webinars, and resources to help you launch a successful course.
      Blog Blog
articles with the latest news and tips to help you run high-quality courses.
      Knowledge Base A support network to help you make the most of your courses.
      Release Notes Stay up-to-date with the latest updates to LearnDash.
      Get Help

      Professional Services

      LMS Site Development Get hands-on assistance launching your course website.
      Website Maintenance WordPress management made easy.
      SEO Services SEO solutions that accelerate growth.

      Other Resources

      LearnDash Accessibility At LearnDash, we believe online learning should be accessible to everyone.
      Join the Dev Club
  • Demo
  • Sign In
Get LearnDash

Knowledge Bases: Support Home | LearnDash Core | LearnDash Add-ons | LearnDash Cloud | Resources | Mobile App

LearnDash Support
  • ← Return to LearnDash
  • Support
    • Support Home
    • All Knowledge Bases
    • LearnDash Core
    • Add-ons
    • Resources
    • Cloud
  • My Account
Popular searches: api duplicate couse email gp query loop [ld_course_resume]

Getting Started with LearnDash

13
  • Setting Up Your First Course with LearnDash
  • Getting Started
  • LearnDash Overview
  • Technical Requirements
  • The Onboarding Wizard
  • Installation
  • LearnDash Core
  • Orders
  • Shortcodes and Blocks
  • Coupons
  • How to Use the Design Wizard
  • The Design Wizard
  • Style Customizer

Courses

14
  • Course Grid
  • Course Enrollment Mode Settings
  • Course Builder
  • Courses
  • Shared Course Steps
  • Course Display & Content Settings
  • Course Sections
  • Course Progression
  • Course Page
  • Course Create Wizard
  • Course Outline Builder
  • Pre-Selling
  • Course Dashboard
  • Course Completion Page

Lessons

9
  • Video Progression
  • Global Lesson Settings
  • Lesson Access Settings
  • Lessons
  • Lesson Display and Content Settings
  • Lesson Page Content
  • Sample (Free) Lessons
  • Lesson Access Settings
  • Blended Learning

Topics

5
  • Topics
  • Global Topic Settings
  • Topic Display and Content Settings
  • Topic Page Content
  • Topic Display & Content Settings

Quizzes

12
  • XML Quiz Import/Export Guide
  • Global Quiz Settings
  • Quiz Builder
  • Quizzes
  • Quiz Display & Content Settings
  • Quiz Results Display
  • Quiz Custom Fields
  • Quiz Leaderboard
  • Quiz Email Notifications
  • Manage & Grade Essays
  • Quiz AI Builder
  • Quiz Access & Progression

Questions

1
  • Quiz Questions

Certificates

3
  • Certificates
  • Create a Certificate
  • Certificate Shortcodes

Groups

11
  • Group Administration
  • User Groups
  • Global Group Settings
  • Group Page
  • Group Display and Content Settings
  • Group Access Settings
  • Group Courses
  • Group Users and Group Leaders
  • Publishing and Viewing a Group
  • Group Leader Capabilities
  • Group Cohorts

Challenge Exams

1
  • Challenge Exams

Assignments

4
  • Assignments
  • Global Assignment Settings
  • Manage Assignments
  • Enable Assignments

Reports

3
  • SCORM and xAPI
  • Reporting
  • How to disable core reports

Settings

15
  • Custom Labels
  • PayPal Checkout
  • Global Course Settings
  • Login and Registration
  • Settings
  • Permalinks (URLs)
  • General Settings
  • Focus Mode
  • Payments
  • Advanced Options
  • Emails – LearnDash General Settings for Notifications and Senders
  • Razorpay Integration
  • Cloning
  • Experiments
  • Payments
    • PayPal Checkout

Users

5
  • Users and Groups
  • User Data
  • User Management
  • User Profiles
  • Extend Access

Design

1
  • Widgets
View Categories
  • Home
  • All Knowledge Bases
  • LearnDash Core
  • Settings
  • Permalinks (URLs)

Permalinks (URLs)

Permalinks control how WordPress builds the URLs for content on your site. LearnDash adds its own permalink options, allowing you to customize the URL structure for courses, lessons, topics, and quizzes.

Note: If you’re using custom labels, we recommend you update your LearnDash permalink settings to match your labels.

WARNING: LearnDash works best with a custom permalink structure. Be sure to set this up during the initial configuration, and avoid changing it later, especially after creating course content. Switching permalinks multiple times or using the default “Plain” setting can cause broken links and 404 errors.

Default Permalinks #

By default, your LearnDash content will use the following URLs:

  • Courses: https://yoursite.com/courses/course-name/
  • Lessons: https://yoursite.com/lessons/lesson-name/
  • Topics: https://yoursite.com/topic/topic-name/
  • Quizzes: https://yoursite.com/quizzes/quiz-name/

Custom Permalinks #

You can customize the part of the URL that immediately follows https://yoursite.com/.

Let’s say you’re using the following custom labels:

  • Courses Tracks
  • Lessons Modules
  • Topics Lessons
  • Quizzes Tests

Let’s also assume you want to use the singular version of each custom label in your URL. For example, instead of yoursite.com/tracks/track-name/, you want yoursite.com/track/track-name/. Here’s how you’d set this up in the permalink settings.

  1. In the WordPress admin area, go to Settings > Permalinks
  2. Scroll down to LearnDash Permalinks
  3. Update the text in each of the first 4 fields to your desired URL structure
  4. Click Save Changes at the bottom

Category & Tag Permalinks #

If you’re using categories and/or tags for your courses, lessons or topics, you can change those permalinks as well.

  1. Stay on the same page, Settings > Permalinks
  2. Scroll down to LearnDash Taxonomy Permalinks
  3. Update the text in each field to your desired URL structure
  4. Click Save Changes at the bottom

Nested URLs #

Nested URLs will restructure lesson, topic, and quiz URLs so they are nested hierarchically within the course URL.

Here’s the default topic URL (with nested URLs turned OFF): https://yoursite.com/topic/topic-name/

With nested URLs turned ON, the URL becomes: https://yoursite.com/courses/course-name/lessons/lesson-name/topic/topic-name/

Note: If Shared Course Steps is enabled in Course Settings, nested URLs are required and will be automatically enabled.

Shortening Nested URLs #

NOTE: The following information gets a little technical.

How WordPress URLs work #

Let’s review how WordPress handles rewrite rules for custom post types.

When registering a custom post type, as LearnDash does for courses, lessons, topics, and quizzes, WordPress will create a rewrite rule for the custom post type with a URL structure, using both the post type slug and post slug pair. A rewrite rule is how WordPress handles browser URL requests and matches them to the correct page. This results in default URLs that look like this:

  • Courses: https://yoursite.com/courses/course-name/
  • Lessons: https://yoursite.com/lessons/lesson-name/
  • Topics: https://yoursite.com/topic/topic-name/
  • Quizzes: https://yoursite.com/quizzes/quiz-name/

When a browser makes a request to the URL https://yoursite.com/lessons/lesson-name/, WordPress will parse this URL and match it against the rewrite rules and determine that the user is requesting a lesson post type and not a course, post, page, etc. This works the same with taxonomies, where WordPress creates a similar pattern:

  • Category: https://yoursite.com/category-slug/category-name/
  • Tag: https://yoursite.com/tag-slug/tag-name/

The reason WordPress uses this ‘paired’ post type slug + post slug logic is that post slugs are not unique across all post types. In other words, you are allowed to have both a lesson and a topic with the same slug.

If post slugs were global, then you wouldn’t need the post type slug part of the URL and could just use:

  • Lesson: https://yoursite.com/lesson-name/
  • Topic: https://yoursite.com/topic-name/

WordPress posts and pages are the exception to this ‘paired’ logic. You will notice that page URLs do not have the /page/ prefix. These built-in post types were in place long before WordPress added the changes to support custom post types, so the rewrite logic is handled differently.

How Nested URLs Work #

When enabling the Nested URLs feature in LearnDash, we had to keep this post type slug + post slug ‘paired’ logic. This is why the URL for a topic becomes: https://yoursite.com/courses/course-name/lessons/lesson-name/topic/topic-name/

The solution LearnDash uses for Nested URLs is one we consider will work across all customer sites. By using the post type slug + post slug ‘paired’ logic, and following recommended WordPress guidelines, we can always match the course elements during a URL request.

Custom Rewrite Rules #

It is still possible to create your own custom rewrite rules using standard WordPress hooks. You would hook into the generate_rewrite_rules action (documentation). This hook lets you add your own custom rewrite pattern to replace or supersede the default rules.

For example, you could add a pattern to create shortened topic URLs by removing the lesson and topic post type slugs, resulting in this: https://yoursite.com/courses/course-name/lesson-name/topic-name/

This assumes a lesson will ALWAYS follow a course post slug (and it does), and a topic will ALWAYS follow a lesson post slug (and it does). You could still encounter a problem with quizzes, since a quiz can be standalone or attached to the end of a course, lesson, or topic.

  • Standalone Quiz: https://yoursite.com/quizzes/quiz-name/
  • Course Quiz: https://yoursite.com/courses/course-name/quiz-name/
  • Lesson Quiz: https://yoursite.com/courses/course-name/lesson-name/quiz-name/
  • Topic Quiz: https://yoursite.com/courses/course-name/lesson-name/topic-name/quiz-name/

Since WordPress does not consider post slugs to be unique across all post types, there is no way to formulate a rewrite rule pattern to pick out the quiz in the URL without the post type slug ‘paired’ logic.

Updated on February 2, 2026
Table of Contents
  • Default Permalinks
  • Custom Permalinks
    • Category & Tag Permalinks
  • Nested URLs
    • Shortening Nested URLs
      • How WordPress URLs work
      • How Nested URLs Work
      • Custom Rewrite Rules

Was this Doc Useful?

Thanks for your feedback!

Products

  • LearnDash LMS Plugin
  • MemberDash Plugin
  • LearnDash Cloud
  • ProPanel
  • Groups Management
  • Gradebook
  • Notes
  • Integrations

Support

  • Contact Us
  • Experts
  • Documentation
  • Facebook Community

Company

  • About LearnDash
  • Brand Assets
  • Careers
  • Affiliates
  • Privacy Policy
  • Terms and Conditions
  • Refund Policy

Our Partners

  • The Events Calendar
  • MemberDash
  • Kadence
  • GiveWP
  • Iconic
  • SolidWP

Stay Connected Subscribe to our newsletter
  • YouTube
  • X
  • Facebook
  • Instagram

Copyright 2026. All Rights Reserved.

A Liquid Web Brand
WordPress Hosting Services
© 2026 All Rights Reserved

StellarWP
liquidweb