Permalinks & wp_posts problem
-
Hello guys,
I’m developing a new website, but I can’t quite figure out a solution to my permalinks problem.
My main website is https://w3spine.com, I’m sending posts to my second WP https://w3lol.com and I want posts permalinks to be like so https://w3lol.com/138581
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.
- The topic ‘Permalinks & wp_posts problem’ is closed to new replies.