1

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

5
  • 1
    What if you made your permalinks /blog/%postname%/?
    – Howdy_McGee
    Jan 13, 2014 at 16:54
  • wouldnt that make all my other pages have /blog prefixed?
    – asaunders
    Jan 13, 2014 at 17:00
  • 1
    See this answer
    – Milo
    Jan 13, 2014 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, 2014 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, 2014 at 17:04

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.