I right now have a custom post type with a url structure like:
I have a custom variable that I am detecting in the template file to switch layout views which works fine but the URLs are setup like:
I am wanting the URLs to look like
Mainly because of pagination is not working properly with
?template=g when you try and page it sets the URLs as
which then returns a 404.
How can I get this right?