Fix Course Page Replaced by LearnDash Archive Page

Written by Dan Mossop

If you've just installed the LearnDash LMS plugin, you might find that you can no longer edit your existing Courses page using the Divi Builder and that you see a plain "category"-style page in place of your existing courses page (assuming you had one). There are several ways to fix this, as described below.

The Problem

If you created a standard WordPress page called "Courses" prior to switching to LearnDash, WordPress will likely have assigned that page the permalink slug "courses" and the page will show up at "https://yoursite.com/courses/".

However, when you install LearnDash, it uses that same URL / slug for its "Courses Archive Page". This page is a bit like a standard WordPress category page, but shows a plain list of all the courses on the site. Now there is a conflict, with that same URL pointing to both your original course page and the LearnDash Course Archive page. As it happens, the LearnDash page takes priority and will be shown instead of your original course page. This also has the effect of making the course page uneditable in the Divi Theme, since it's frontend editor doesn't directly support editing archive pages.

Method 1: Change the page permalink

Open your page in the default editor. Click on on the Page title and you should get an option to edit the permalink, like so:

Click "Edit" then in the Permalink box you will be able to change "courses" to something else (e.g. "courses2"). Save the permalink and update the page. It should now be moved to https://yoursite.com/courses2/ or similar. And it should now be editable in Divi Builder, etc. Note that the LearnDash course page will still be accessible at the old URL.

Method 2: Change the LearnDash Course Permalink

Go to Settings > Permalinks and change the LearnDash course permalink, like so.

Here I've just removed the "s" to change "courses" to "course". That will stop LearnDash overwriting your page, but note that the LearnDash course page will still be accessible on the site (at https://yoursite.com/course/) and the URLs for any existing courses will change, which might affect existing links / SEO.

Method 3: Use the Divi Theme Builder on the LearnDash Course Archive Page

Since Divi 4.0, the Divi Theme Builder feature is available, and can be used to edit (among other things) category archive pages. This can be used to edit the LearnDash course page using the Divi Builder.

* From your WP dashboard go to "Divi > Theme Builder"
* Click "Add New Template"
* Assign the template to the "Courses Archive Page" as shown here:

* Click "Create Template".
* In that template, click "Add Custom Body" > "Build Custom Body"
* Design the page in builder (or put in a test text box to begin with)
* Save and exit the Divi Builder layout
* Save the theme builder changes.

You should now see the builder layout at https://yoursite.com/courses/

Since this is editing the LearnDash course page, you could just delete your own course page. Note that you'll need to use the Theme Builder for future edits, since this isn't a page as such and won't appear in your WordPress pages. This method, though a bit more complex, has the advantage of giving you only a single course page.

Using LearnDash and Divi? They work better together with Divi LearnDash Kit.

Seamlessly Integrate LearnDash with Divi!

Enhance your LearnDash LMS with the Divi LearnDash Kit from Divi Booster. This plugin adds custom LearnDash modules to Divi, resolves compatibility issues, and supports Divi design settings, creating a cohesive and visually appealing learning environment. Perfect for integrating your LearnDash Course Archive Page with Divi's powerful tools.

About Dan Mossop

Dan is a Scottish-born web developer, now living in Brisbane with his wife and son. He has been sharing tips and helping users with Divi since 2014. He created Divi Booster, the first Divi plugin, and continues to develop it along with 20+ other Divi plugins. Dan has a PhD in Computer Science, a background in web security and likes a lot of stuff, 

2 Comments

  1. This is really helpful. Thanks a ton.

    Reply
    • Glad it helped, Murugaraj!

      Reply

Submit a Comment

Comments are manually moderated and approved at the time they are answered. A preview is shown while pending but may disappear if your are cookies cleared - don't worry though, the comment is still in the queue.

Your email address will not be published. Required fields are marked *.

We may earn a commission when you visit links on our website.