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.

Latest Posts

Hide the Page Title in the Hello Elementor Theme

Hiding the page title in the Hello Elementor theme allows you to create a cleaner and more customized page layout, free from default headings that may not fit your design. This is particularly useful for landing pages or custom content layouts where the default page...

How to Hide a Divi Module When Scrolling Up or Down

In this quick tutorial, I’ll show you how to hide a Divi module when scrolling in a specific direction (up or down), so that the module only shows when you want it to. This is especially useful when using Divi’s Scroll Effects feature and you have a effect you want to...

Fade a Divi Image Module Edge into the Background

Want to create a stylish fade effect on your Divi image module—where one side fades smoothly into the background? With a bit of CSS, you can make any edge (or corner) of the image fade out: top, bottom, left, right, or even diagonally.Fade a Divi Image Module Edge...

Hide the Header and Footer in the Hello Elementor Theme

Removing the default header and footer from your Hello Elementor theme allows for a streamlined and distraction-free website design. This is especially useful when creating unique landing pages, full-width layouts, or custom headers and footers with a page builder. In...

Setting up the Divi Password Box Module

Setting up password protection on a page can help you control access to sensitive or private content in WordPress, allowing only authorized visitors to view certain sections. With the Divi Password Box module, you can replace the plain Divi password form with a fully...

Random Posts