title: Wordpress - Show parent category AND subcategory name in subcategory archive URL
body: <p>I'm having some trouble with Wordpress <code>category/subcategory</code> archive URLs.</p>
  
  <p>For example, I want to be able to display this archive:<br /> <code>http://faroutmagazine.co.uk/wp/track-of-the-day</code> while keeping its parent category in the URL, making it <code>http://faroutmagazine.co.uk/wp/music/track-of-the-day</code></p>
  
  <p>Previously, I was just getting a "This is embarrassing..." 404 message when accessing the <code>/music/track-of-the-day</code> URL (even though that's the one that was appearing in the View option under categories in the admin section of WP).</p>
  
  <p>Now the View link in the admin area only shows me the <code>/track-of-the-day</code> URL, and this DOES display the category posts which is great, but I want it to include the parent category in the URL.</p>
  
  <p>Is there anything I can do to  the <code>functions.php</code> file or any plugins I can add to make this happen? Please bear in mind that there are multiple subcategory archives on this site, and they should all contain the parent category in the URL.</p>
  
  <p>***UPDATE:
  I actually have just set everything up a different way now using Pages and showing category archives on pages as it's taking up too much time. Thanks for your answer though. People telling me to use <code>%category%/%postname%</code> as the permalink structure are incorrect - yes, this works for the POST urls but not for the archive category of the subcategory which is the problem I was actually looking for help with. If anyone can provide an answer, it would be appreciated, but I am using this workaround now as this was taking up way too much time trying to figure out.</p>