Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @lucas81

    I’d like my URL structure to be like this:
    Shop page: https://www.url.com/products/
    Product category page: https://www.url.com/products/category/
    Product page: https://www.url.com/product/product-name/

    To achieve the desired URL structure, navigate to Settings > Permalinks, and set the URL structure in Optional as required. Something like, use /products/%product_cat%/.

    This should give you the desired URL structure for your product categories. However, for individual product pages, WooCommerce by default adds /product/ before the product name in the URL. To remove this, you would need a plugin like Premmerce Permalink Manager for WooCommerce.

    Where the breadcrumbs should be like this: Home / Products / Category / Product-name

    This depends on the theme. However, you can use a plugin like Breadcrumb NavXT, Rank Math SEO or Yoast SEO. These plugins allow you to customize your breadcrumb path.

    Please be aware that changing the URL structure can affect your SEO. It’s recommended to create redirects from your old URLs to your new ones to prevent 404 errors.

    I hope this helps. If you have any other questions, please don’t hesitate to ask.

    Thread Starter lucas81

    (@lucas81)

    Hi Shameem, thanks for responding. Basically from the current situation all I want is for the label Products to appear before the breadcrumb, which links to the shop page. No URL’s are changed.

    Every suggestion you posted I get some result but not the desired one. I use Rankmatch Pro which enables me to remove the categorie slug but this affects all categories, not just the top level one.

    Basically I would be ok if there is just some way to insert the shop page as a first level item in the breadcrumb. Like this:
    Home -> Product-category -> Product-title
    Home -> Shop page -> Product-category -> Product-title

    Any way this would be possible?

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @lucas81

    In this case, you might need to use custom code to achieve it. Here are some resources that might help further:

    Please note that writing or providing custom code is not within the scope of our support policy. If you are still having problems, we recommend asking development questions on the #developers channel of the WooCommerce Community Slack. Many of our developers hang out there and will be able to offer insights into your question. You can also seek help from the following:

    I wish I could help more, but hopefully, this gets you going in the right direction to get the job done.

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @lucas81

    I’m marking this topic as “resolved” due to recent inactivity. If more assistance is needed, feel free to post back here or open a new topic.

    Thanks!

    Thread Starter lucas81

    (@lucas81)

    I solved this by adding a item Products before the breadcrumbs using the code described in this topic:

    https://support.rankmath.com/ticket/shop-in-breadcrumb/

    Plugin Support Rajesh K. (woo-hc)

    (@rajeshml)

    Hello @lucas81,

    Glad to know that the issue has been resolved now and thank you for sharing the solution and contributing to the WooCommerce Community.

    Should you have further inquiries, kindly?create a new topic here.

    Meanwhile, if it isn’t too much to ask for – would you mind leaving us a review here? It only takes a couple of minutes but helps us tremendously. It would mean so much to us and would go a long way.

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WooCommerce Permalink issue’ is closed to new replies.