Custom permalink to make a page respond properly
I found the answer by tracing through the wordpress code, wasn’t easy, this code is really a complete mess but hell, i made it through… The solution comes in 3 different parts: Register your custom post type / Custom permalink structure Generate your custom rules / Overwrite existing rules Overide the redirect canonical filter to … Read more