I'm running into an issue that must have something to do with an old custom post type which isn't used anymore in our new custom theme.
I can't recall what the old CPT was called but it causes an unwanted issue with new page url's resulting in mysite.com/service-2 URL's instead of mysite.com/service URL's.
There's no option to edit or to delete the old post anymore as the CPT isn't active anymore.
I already cleaned up the database but with no result. Is there some way to solve this or is exporting the current content into a fresh database the only option?
Update, it wasn't an als CPT post but must have been a page. Found the old page in the wp_post table and deleted that row. But don't ask my why that old page wasn't visible anymore in the wp-admin. Anyway, issue solved.