• Resolved Serkan

    (@serkanemir)


    Hi, i want to change URL structure for single product pages. Because multi vendors sell the same product. Ex: “X Vendor” add “PP” product and then url .com/product/PP. After then “Y Vendor” add “PP” and then url .com/product-category/pp-1. But i don’t want so. I think URL structure like so:
    X Vendor: .com/x-vendor/product/PP or .com/x-vendor/product/PP/
    Y Vendor: .com/y-vendor/product/PP or .com/y-vendor/product/PP/

    How can i change URL structure like above?

    Thanks a lot.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @serkanemir, thanks for reaching WCMp Support!!

    The slug of the product name gets handled by WordPress itself, hence by default, if you add the same product name, WordPress will add the number with the product’s url (if the product has same name).

    However, you can manually edit the product’s slug name.

    Thread Starter Serkan

    (@serkanemir)

    Thanks for answer. your plugin allows us to install a multi-vendor marketplace. So there are different vendors that sell the same product. Therefore, the product URL structure should be or similar: .com/vendor-slug/product-name.

    Your plugin allows us to list vendors. And we can view the profile of any vendor from this list. The URL of the vendor profile page is as follows: .com / shop / vendor-slug. I want to add vendor-slug in this URL to the product URL.But how? 🙂

    @serkanemir, the slug of the product gets generated by WooCommerce also, and we simply assign the vendor as an author for that product.

    Also, we don’t modify this slug name, because the display of the vendor name in the product’s slug name depends on whether the admin wants to revel vendor name in their site. However, you can do custom code and modify the default product URL structure as per your need.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘URL Structure’ is closed to new replies.