That’s the proper way to set post type slug rewrite slugs.
My question is if you also have a page named “free-tutorials” because if that’s a matching value, then chances are WordPress isn’t quite sure what to query for. Is “free-tutorials/post-slug” a post in a post type? Is “post-slug” a child page of the “free-tutorials” page?
that’s weird. I tried different meaningful rewrites and they didn’t work. Now I typed some gibberish and it works. There is obviously something in the database with the slug I want to rewrite to although I can’t find anything similar in posts or pages. I’ll have to take a look in the db to find it.
Thank you for your help, you deserve a 5 star 🙂
- This reply was modified 7 minutes ago by gregamer.