Custom post types not using pretty permalink
-
I’m having a problem on https://okpsa.org/. There’s a custom post type called events, and while all the data is still being pulled in correctly after upgrading, the permalinks are no longer pretty. Not sure which of the recent upgrades this happened during, but I just noticed it.
What should show up on the front page (and in the sidebar) as this:
https://okpsa.org/event/mike-springer-psc-group-llc/
Instead changed to show up as this:
https://okpsa.org/?post_type=event&p=564
Oddly, the permalinks still work, thankfully, since I had emails scheduled in MailChimp with the links.
The template for the home page uses the function the_permalink() to generate the link.
Any ideas how I can fix that?
- The topic ‘Custom post types not using pretty permalink’ is closed to new replies.