Bug #15153

Main nav Courses link broken

Added by Colin McDonald 5 months ago. Updated 4 months ago.

Priority name:
Category name:
Target version:
Start date:
Due date:
% Done:


Estimated time:


Clicking the Courses top nav item on public or logged-in, it goes to a redirect and broken page:

Starting a new ticket for this one since it's so prominent, though I know we've had other nav item issues.


#1 Updated by Boone Gorges 5 months ago

A rewrite rule flush seemed to fix this (/courses/ is the CPT archive URL). Ray, any idea why this might have been necessary?

#2 Updated by Raymond Hoh 5 months ago

I do not have any ideas at the moment regarding the rewrite rule flush. Although when I was testing the site yesterday, the Courses Directory was resolving properly.

One other related thing I noticed is the "Courses" nav item was not showing up in the sitewide footer's primary nav. I checked the menu under "Appearance > Menus" and the Courses nav item was added as a Post Type Archive. Due to the way we cache the sitewide footer as a transient, when the transient expires and the sitewide footer is generated from a sub-site, the Courses CPT isn't available when on a sub-site so that is probably why the Courses nav item did not show up in the footer. I've just re-added the Courses nav item as a Custom Link and hopefully, that should address this particular issue.

#3 Updated by Matt Gold 5 months ago

Hi all -- when I click on "courses" on the homepage, the error is still occurring.

It looks like the Courses link in the sitewide nav in the top black bar, and in the main nav bar, both go to However, that link is being redirected to . And that page is throwing a Page not found error

Since this is in our main nav and given the importance of the course directory, this is a pretty prominent issue to address.

#4 Updated by Raymond Hoh 5 months ago

I've just did a rewrite flush and the Courses Directory is resolving again.

I'll try and spend a little bit of time to see what might be going on.

#5 Updated by Matt Gold 5 months ago

thank you so much, Ray!! Much appreciated.

#6 Updated by Boone Gorges 4 months ago

  • Status changed from New to Resolved
  • Target version set to 1.19.1

I believe this is the same underlying issue as #15170.

Also available in: Atom PDF