WordPress custom URL structure with slashes for pages

[ad_1]

I’m currently facing a challenge with URL structures in my WooCommerce site. I have a category (let’s call it /category1/), and I’ve successfully removed the WooCommerce category slugs using the Premmerce Permalink Manager for WooCommerce. I like URL structures that are easy to read and understand.

However, I’m struggling to create a subpage URL under /category1/ for a regular WordPress page. Whenever I try to set a URL like /category1/subpage, it automatically gets converted to /category1-subpage. I’m looking to maintain the slash in the URL rather than having it replaced with a hyphen. In this case it is not a subcategory, but a topic landing page for category1, so it would be nice if category1/ would also appear in the URL path.

Has anyone encountered this issue and found a solution? I’m seeking advice on how to achieve a URL structure where I can have a regular page as a subpage of a WooCommerce category, with a URL like /category1/subpage.

Any insights or guidance would be greatly appreciated! Thank you!

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer