wordpress - post type friendly link

0

I have a site www.classiplast.com.br is working everything right.

But I'm creating an area inside it where I want to have a page called a business guide and when the user accesses www.classiplast.com.br/guia-de-empresas will open a page where I will put several categories .... My question is as follows:

How do I enter a category when the link stays

classiplast.com.br/guia-empresas/nome-categoria ...

And within the category are going to have the companies there, I wanted the link to stay ...

classiplast.com.br/guia-empresas/nome-categoria/nome-empresa

I created a post type but all I got so far was to leave the link like this:

http://www.classiplast.com.br/guia-empresas/braskem/

If you notice tb on the page it is so

Inicio >> Braskem

But I wanted you to follow the link

Inicios >> guia-empresas >> categoria >> braskem

Thank you.

    
asked by anonymous 27.07.2015 / 14:16

1 answer

0

I believe you resolve this by simply adding guia-empresas as a general category, and the rest ( nome-categoria ) as "daughters" in this category.

This can be done in the Parent option of the Category Edit screen:

Important to know that:

  • Your permalink should contain /%category%/
  • You should select only the Daughter category in your post, otherwise it will give preference to the Parent category if both are selected.
23.09.2015 / 21:51