I'm developing a new website, but I can't quite figure out a solution to my permalinks problem.
The problem is that I cannot use post ID since there are a whole bunch of other stuff that are stored in wp_posts and the IDs skip some numbers (ex. first is 50 next is 54 (1 post, 2 revisions and 1 attachment), 58, 62, etc) and I need the urls to be in order -> 50, 51, 52, 53, etc.
The easiest way here is to use post slug as a permalink, but this will be problematic to regular users who have to skip a lot of images just to find the ones they haven't seen yet.
Any solution will do, I don't mind hardcoding.