Title: Custom Post URLs
Last modified: August 21, 2016

---

# Custom Post URLs

 *  [mschmidt2](https://wordpress.org/support/users/mschmidt2/)
 * (@mschmidt2)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/custom-post-urls/)
 * Hey guys,
 * I would like to know how i can set up a custom url structure (with a clean wp
   installation) like this:
 * |-Home (/ or /home/)
    |-Blog (/blog/ – listing articles) |–Blogpost #1 (/blog/
   blogpost-1/) |–Blogpost #2 (/blog/blogpost-2/) |–Category #1/ (/blog/category-
   1/) |–Category #2/ (/blog/category-1/) |-Imprint (/imprint/) |…
 * Home, Imprint.. are regular pages and this works fine. How can i realize the 
   separate blog url? I would like to run a portfolio site with wordpress and separate
   the blog posts under /blog#1/bla/ or /blog#2/fewfew with the aid of custom_post_types.
 * Thanks!
 * cheers

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

 *  [Evan Herman](https://wordpress.org/support/users/eherman24/)
 * (@eherman24)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/custom-post-urls/#post-4807557)
 * You need to create a page, called Blog, that houses and displays all of your 
   blog posts.
 * Then go to ‘Tools > Permalinks’ and use the second to last option (Post Name),
   or set up your own custom structure which will use that format.
 *  Thread Starter [mschmidt2](https://wordpress.org/support/users/mschmidt2/)
 * (@mschmidt2)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/custom-post-urls/#post-4807578)
 * Hey Evan,
 * Your solution i tried this afternoon. Unfortunately it works only with ONE blog.
   If i use more than one blog (register_post_type) I get in trouble!
 * I tested the “Enhanced Custom Permalinks” Plugin and register a custom_post_type.
   WordPress set the global permalink structure as root and set up a permalink structure
   like this: /blog/blog-2/. If i changed the structure directly in my database 
   tables to /blog-2/, nothing works anymore and i get a 404 error no matter which
   link i visit.
 *  [Evan Herman](https://wordpress.org/support/users/eherman24/)
 * (@eherman24)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/custom-post-urls/#post-4807592)
 * So you’re registering your own custom post type, named blog?
 * How many post types are you registering?
 * Also, custom post types (after being created) need a permalink refresh. Just 
   go into your permalinks and hit save again.
 *  Thread Starter [mschmidt2](https://wordpress.org/support/users/mschmidt2/)
 * (@mschmidt2)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/custom-post-urls/#post-4807609)
 * Nope, **blog** referenced with **/blog/%postname%/** to the **regular post-type**
   that came with the wordpress installation and **blog-2**, **blog-3**… (names 
   are for example only!) are registered **custom_post_types**. I refresh the permalink
   structure unsuccessfully more than once after registering the custom_post_types
   in my functions.php.
 * _How many post types are you registering?_
    I do not know yet but if it works
   only with one **custom_post_types**, i can rule the world with thousands of separate
   blogs 😉
 * cheers

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

 The topic ‘Custom Post URLs’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [mschmidt2](https://wordpress.org/support/users/mschmidt2/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/custom-post-urls/#post-4807609)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
