I am trying now for a couple days to solve the following Problem:
I have a custom post type called gallery
. I need the URL
http://example.com/gallery/FOOBAR
to be parsed like
http://example.com/gallery/?param=FOOBAR
The Permalink Setting for custom post type is:
/gallery/%postname%/%year%/%monthnum%/%day%/
I think I have tried about every code snipped that I could find to solve this problem but nothing seems to work.
If I flush all rewrites, none of my links work anymore (404)
Is is even possible?