Same term for category and slug
-
I am having problems with a site that uses the category “vacatures” for posts. The “Vacatures” page, lists those posts. Some time ago the client has made a page called “Vacatures” and replaced the old “Vacatures” posts page with his new “vacatures” page. The page is a main-page, and has children (sub-pages) like vacatures-bouw, vacatures-civiel etc.
Now we want the old page back, so the posts page with the “vacatures” posts. I changed the menu, so that it links again to /category/vacatures/
But if you click the menu, the site tries to go to the clients “vacatures” page (the page). I deleted that page, but now, on clicking the link, you end up on vacatures-bouw, a sub-page of the old vacatures page.If I type https://mysite/category/vacatures/ in the address bar, I get a “page not found error”
If I go in the dashboard, and go to Posts>Categories >Vacatures> View I go to the vacatures-bouw page.I understand that in WP,you cannot use the same term for a category and a page/slug. Makes sense. But now that it has been done, I need to get this working again. Any ideas how to solve this?
Thanks
- The topic ‘Same term for category and slug’ is closed to new replies.