Title: Permalinks on custom posts
Last modified: September 4, 2018

---

# Permalinks on custom posts

 *  [testarn](https://wordpress.org/support/users/testarn/)
 * (@testarn)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/permalinks-on-custom-posts/)
 * Hello!
 * I have a few different custom posts on my WordPress. I however want my slug /
   permalink to be different.
 * Lets say i want
    domain.com/custom1/2018/09/04/post-name domain.com/custom2/post-
   name
 * I found a plugin that worked perfectly for this
    [https://wordpress.org/plugins/custom-post-type-permalinks/](https://wordpress.org/plugins/custom-post-type-permalinks/)
 * However i want my blog to also have /blog before the posts. If i change the custom
   permalink in wordpress to /blogg/%postname% all of my custom posts get this /
   blog structure as well.
 * The ideal thing here would be if the plugin supported changing normal posts as
   well but it doesn’t.
 * What should i do?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/permalinks-on-custom-posts/#post-10656082)
 * You could change the custom ones into Pages.
 *  Thread Starter [testarn](https://wordpress.org/support/users/testarn/)
 * (@testarn)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/permalinks-on-custom-posts/#post-10656931)
 * why would i want to make them into pages? :/ sorry i dont quite follow
 *  [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/permalinks-on-custom-posts/#post-10660085)
 * Pages have a different permalink structure, more like you are wanting. They would
   be out of the flow of Posts, and stand-alone. So instead of trying to make a 
   Post do something it’s not designed to do, you use something that is set up that
   way: Pages.
 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/permalinks-on-custom-posts/#post-10660618)
 * You can put whatever you like in front of post or page slugs as long as it does
   not match any rewrite rules, as long as the slug itself is correct. For example:
   _example.com/gobledygook/hello-world/_
    Numbers and other post types will match
   rewrite rules, so don’t use those. All you need to do is filter permalink output
   so the extra _/gobledygook/_ is part of the URL. For pages, use the “page_link”
   filter. Unless you want to apply this to all pages, there needs to be something
   about the page which code can use to know which links to alter and which to leave
   as is. It can be a taxonomy term, post meta, something in the slug, whatever 
   as long as there is something.
 * We have an administrative issue to resolve. You may NOT DM me in Slack or @ reference
   me in topics (or anyone else for that matter) to draw attention to one of your
   topics. Really. This is serious. It makes for favoritism and that cannot be allowed.
   It’s one thing to pass along sensitive information in a DM, it’s another to draw
   attention to particular topics. Don’t do it. I’ve no doubt you meant this as 
   a friendly heads up and were not intending to draw favor. Everyone gets the benefit
   of any doubt the first time. Just don’t do it again and you will remain in good
   standing here.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Permalinks on custom posts’ is closed to new replies.

## Tags

 * [custom post](https://wordpress.org/support/topic-tag/custom-post/)
 * [permalink](https://wordpress.org/support/topic-tag/permalink/)
 * [permalinks](https://wordpress.org/support/topic-tag/permalinks/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/permalinks-on-custom-posts/#post-10660618)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
