Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello aniketnt,

    Looks like you will want to go to Settings >> Permalinks. You can create a custom permalink structure. Here are all the availabilities of possible structure.

    %year%
    %monthnum%
    %day%
    %hour%
    %minute%
    %second%
    %post_id%
    %postname%
    %category%
    %author%

    You can implement these structures when you’re building custom permalink.

    What do you mean by:

    ‘post type’?

    So, it looks like you will want to use the following structure.

    https://yoururl.net %category%%postname%

    If you clarify what you mean about post type, I can help you with that too.

    Thread Starter aniketnt

    (@aniketnt)

    post type is one that i have created like if i create a post type as blog and a custom taxonomy something that can be generated randomly e.g planes, data, traffic and there will be post for each category now what i want the permalink like

    for single post
    https://www.example.com/blog/planes/post-title

    for category page
    https://www.example.com/blog/planes/

    for archive like this
    https://www.example.com/blog/archive/2015

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to write the custom post type permalink’ is closed to new replies.