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 have a posts page and the page slug is /blog

my current permalink structure is /%postname%/

when i click on a blog post. say for example the posts slug is adrenaline-rush

the url is www.siteurl/adrenaline-rush

what i am trying to achieve is www.siteurl/blog/adrenaline-rush

how would i go about doing this?

Thanks in advance

share|improve this question
1  
What if you made your permalinks /blog/%postname%/? –  Howdy_McGee Jan 13 at 16:54
    
wouldnt that make all my other pages have /blog prefixed? –  asaunders Jan 13 at 17:00
    
See this answer –  Milo Jan 13 at 17:03
1  
I think it will only make other "post"-like items have the prefix, ie, any custom post types you defined which have 'capability_type' => 'post'. However for those you can set disable the /blob/ prefix with: 'rewrite' => array('with_front' => false ) –  wkw Jan 13 at 17:04
1  
Thanks for responding. it does work. I was worried it was going to break my custom posts but i do have them set up with specific slugs. can you put that comment into a answer box so i can accept you as the answer please :) –  asaunders Jan 13 at 17:04

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.