0

I have a series of products which are organized into categories like:

  • Windows
    • Product Lines
      • Specific Window type post

Initially I created a page (/windows) which links to the individual product lines. Each Product Line (category) has the name and short description.

The problem I discovered is that the post category(also /windows) takes precedence over the page when you click on Windows in a menu. Taking you to the Windows category instead of the Windows page. Is it possible to create a url that consists of a mix of page, category and finally posts?

site.com/windows/serenity/casement
           ^       ^         ^
         Page   Category    Post

Is there a better method here? This is starting to seem sloppy to me. In the end, I'd like to keep the individual products as posts.

1 Answer 1

0

I don't think so. Why not try something like this:

  1. A permalink structure like this: /%category%/%postname%/

  2. Category: Windows

    Sub-Category: Serenity

    Create a post and assign it to "Serenity" (sub-category), and publish it.

The post's URL would now look just the way you want it to: http://site.com/windows/serenity/post-name/ and most importantly it should work the way you want it to as well.

2
  • I was still having the issue where the category is taking precedence over the page of the same name. In this case it was just simpler to switch to nested pages
    – Fireflight
    Oct 10, 2013 at 16:55
  • @Fireflight "...issue where the category is taking precedence over the page of the same" - it always will. While you can have same name, you can't have the same slug for both categories and pages.
    – its_me
    Oct 10, 2013 at 17:12

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.

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