P
P
PakoGonsalezZ2018-08-27 01:47:50
User navigation
PakoGonsalezZ, 2018-08-27 01:47:50

How to remove categories from url and wordpress breadcrumbs?

A section with arbitrary entries has been created on the site to display manufacturers
https://www/proizvoditeli
Manufacturers are scattered by headings - types of materials.
Recording address - https://www/proizvoditeli/kov-plitka/forbo/
How to remove headings and subheadings from url formation so that the url looks like https://www/proizvoditeli/forbo/
Also remove these sections and subsections from breadcrumbs joxi .ru/D2PGY0RcpvQXWm

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Ariurn, 2018-08-27
@Ariurn

Do a database search based on the parameter passed to the url (for example, forbo). True, this will only work if this parameter is unique in the database.

P
PakoGonsalezZ, 2018-08-27
@PakoGonsalezZ

I mean, search in the database, I don’t understand what you mean. I need to change the formation of the url

O
Orkhan Hasanli, 2018-08-27
@azerphoenix

If you want a simple option -
Custom Permalinks (plugin)
As for the custom post type... take a look at rewrite in functions.php where you created the custom post type.
set valuewith_front => false

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question