Custom Permalinks with Custom Post Types (1 post)

  1. zackaustin
    Posted 5 years ago #

    Hey there, I have a custom post type on my wordpress installation called "gallery" and it has a custom permalink structure so it shows up http://mysite.com/gallery/thecustompoststitle

    Now this is all fine and dandy, but i want to know if i can get this to work with the regular "post" post type that is built into wordpress
    I want it to be able to be http://mysite.com/blog/poststitle

    I tried the dialog in the Permalink settings and what it did was break my gallery post types permalinks

    I also tried registering this:

    	'post', array(
    				'rewrite' => array(
    					'slug' => 'blog',
    					'with_front' => true

    but that didnt work..

    I am stuck!! Someone please save me!

Topic Closed

This topic has been closed to new replies.

About this Topic