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 huge problem: I want to have nice URL's on my Homepage. I got a custom post type and taxonomies. Now I want to have a URL like that:

www. mydomain .com/videos(Category)/funny(Taxonomy)/the-video(Post)

or

www. mydomain .com/videos(Category)/sport(Taxonomy)/the-video(Post)

How do I get this? I am searching for about a year now...

share|improve this question

1 Answer 1

Following the steps below will make your permalinks look like: www.mydomain.com/videos(Category)/the-video(Post)

  1. Visit the Settings > Permalinks page of your WordPress administration dashboard.

  2. Select the Custom Structure option, and enter this value:

    /%category%/%postname%/

  3. Click Save Changes

There currently is no way (that I know of) to include the taxonomy in the permalink. One way around this is to instead assign subcategories, which will be incuded in the permalink.

eg: www.mydomain.com/videos(Category)/funny(Subcategory)/the-video(Post)

You can convert your existing taxonomies into top-level categories by visiting the Tools > Import page, and using the Categories and Tags Converter.

You can then convert the top-level categories into subcategories on the Posts > Categories page.

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.