Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Change url for products under products link

    General Discussion
    4
    5
    255
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      aghaeian last edited by aghaeian

      Hello,
      in my site products url is in example.com/product-name format and i want to change that to example.com/products/product-name.
      Please guide to do this.
      Best Regards

      ashish2409 1 Reply Last reply Reply Quote 0
      • ashish2409
        ashish2409 @aghaeian last edited by

        @aghaeian

        Thank you so much for your query,
        Upon reading your query what i understood is that you want to change and customize your URL right.

        Previous URL -> example.com/product-name
        Update URL -> example.com/products/product-name

        You can make the changes for the routes here.

        packages/Webkul/Shop/src/Routes/store-front-routes.php

        in case you want to know more you can let us know. We would really appreciate you.

        1 Reply Last reply Reply Quote 0
        • S
          senchan last edited by senchan

          This also is what I concern about. Formatting product, category, tag URLs like WooCommerce, for example:

          /products/product-name/
          /categories/category-name

          In the file packages/Webkul/Shop/src/Routes/store-front-routes.php that seems there is not the code to format the product URL. @aghaeian Can you share the right code? Thanks.

          A 1 Reply Last reply Reply Quote 0
          • M
            marc last edited by

            If someone could elaborate on this topic, it would be much appreciated. I can't find the right line in the store-front-routes.php either.

            1 Reply Last reply Reply Quote 0
            • A
              aghaeian @senchan last edited by

              @senchan
              I want to migrate from woocommerce to Bagisto.
              In my current woocommerce website urls is like: "www.example.com/products/sample-products" and in curent demo Bagisto website is see products url structure is like "www.example.com/sample-products" .
              I want to change default Bagisto products link structure to same with woocommerce links for fix seo and google index.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post