Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I want my permalink for my standard posts to be www.mywebsite.com/photoblog/name-of-post

So I've written the custom structure as: /photoblog/%postname%/

However, my custom post type 'projects' permalinks now displays as www.mywebsite.com/projects/photoblog/name-of-post

How can I fix this so it only displays 'photoblog' in the standard post type?

share|improve this question

2 Answers 2

You could add a category called photoblog into you blog and put all the post in there and then leave the custom structure as category/name-of-post.

share|improve this answer
up vote 0 down vote accepted

I added with_front='false' to the slug rewrite for the custom post type

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.