How to get “custom post type”-archive with working permalink to it?

First I will show my permalink structure: /%category%/%post-name%/

Then, I created a custom post type. And now I want to create an archive for those posts related to my custom post type. So I wonder, how will I do that?

Read More

Viewing it in the WordPress documentation, there is something about create a archive-{post-type}.php file, but I still don’t understand how it works, and it says nothing about how the permalinks will look like.

What should I do?

Related posts

Leave a Reply

2 comments

  1. A quote from that question:

    By registering the custom post type (with a “movie” slug), the permalinks are already set up for

    <domain>/movie/action/

    …to see all movies in the action genre.

    That! That is what not work for me. But that is excacly how I want it to work.