Remove extra slug
-
Hi.
Down below you see the archive pages where I want to remove the first slug (since the second slug is the actual category).
/new_products_categories/new-products/
Problem:
When I am using standard WordPress posts it seems like there is only one slug for the particular category (when at the archive page for that particular category) –> /category.
This is the way I want it to be for my custom post types archive as well.So, I guess what I am trying to say: I want to create a custom-post-type-category and an archive page for that category. On this archive page I want the slug to be –> /category. And when going to one particular post within this category the slug should be /category/post-name.
Is there like a quick fix in the WordPress dashboard to solve this, or do I need to add some PHP code in the functions.php ?Merry christmas and thanks in advance 😀
The page I need help with: [log in to see the link]
The topic ‘Remove extra slug’ is closed to new replies.