hello, I performed the procedure to remove the word category from the url by doing these steps.
Log in to the WordPress dashboard.
Go to Configuration >> Permanent Link
Select the custom structure and paste /% category% /% postname% /
Make a change to the base of the category, put a period (.) There.
Save your changes.
now the problem is in the subcategories, when I click from the menu, the page not found warning appears. I also noticed that if I delete the parent category in the url, leaving only that daughter, everything works, but I would like it to appear with the mother category anyway.
example https://namesite/parent category/daughter category/ = no work
https://namesite/daughter category/ = work