Magento 2: “Use Categories Path for Product URLs” configuration does not working correctlyMagento: 'Use categories path for product URL’s to no' - Will the old URLs be auto redirected?Magento use categories path for product URLs on search result page for SEOUse Categories Path for Product URLs NO not working for one store of multi-store setupRewrite product URLs to category URLsDisable product url without category path (SEO)Use category path for product url in magento 1.9.3Magento2: Remove Category path from product URL is not workingMagento 2.2.4 Product URLs show Category path even If Use Categories Path for Product URLs is turned offDisable Product URL without Category PathCategory name on product url still working after “Use Categories Path for Product URLs” set to no

How could an armless race establish civilization?

How to write Quran via Latex?

Are gliders susceptible to bird strikes?

Can a nowhere continuous function have a connected graph?

Most elegant way to write a one-shot 'if'

Why did NASA wet the road in front of the Space Shuttle crawler?

Preferred word for "preferred", "target", "chosen" in end user support documentation

13th chords on guitar

Reusable spacecraft: why still have fairings detach, instead of open/close?

Should 私の be omitted?

How does the Divination wizard's Expert Divination feature work when you upcast a divination spell?

Movie with Zoltar in a trailer park named Paradise and a boy playing a video game then being recruited by aliens to fight in space

Bin Packing with Relational Penalization

Why was Mal so quick to drop Bester in favour of Kaylee?

How do I tell the reader that my character is autistic in Fantasy?

Journal standards vs. personal standards

Does a return economy-class seat between London and San Francisco release 5.28 tonnes of CO2 equivalents?

Do the 26 richest billionaires own as much wealth as the poorest 3.8 billion people?

How to unit test methods which using static methods?

Losing queen and then winning the game

Bad guy wins in my book series

Do home values typically rise and fall at a consistent percent?

My colleague is constantly blaming me for his errors

If two black hole event horizons overlap (touch) can they ever separate again?



Magento 2: “Use Categories Path for Product URLs” configuration does not working correctly


Magento: 'Use categories path for product URL’s to no' - Will the old URLs be auto redirected?Magento use categories path for product URLs on search result page for SEOUse Categories Path for Product URLs NO not working for one store of multi-store setupRewrite product URLs to category URLsDisable product url without category path (SEO)Use category path for product url in magento 1.9.3Magento2: Remove Category path from product URL is not workingMagento 2.2.4 Product URLs show Category path even If Use Categories Path for Product URLs is turned offDisable Product URL without Category PathCategory name on product url still working after “Use Categories Path for Product URLs” set to no






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















I have a store with few categories. I want to have only one url for each product - domain.com/product_name.html. I don't want to have products URLs with the category path in them.



I set “Use Categories Path for Product URLs” to "NO", but when I am saving any category it is creating the Catalog URL Rewrites for all the products of that category i.e. one regular url (domain.com/product_name.html) and one for each category path (domain.com/category_path1/product_name.html)



(domain.com/category_path1/category_path2/product_name.html).



Magento Version: 2.1.5










share|improve this question






























    2















    I have a store with few categories. I want to have only one url for each product - domain.com/product_name.html. I don't want to have products URLs with the category path in them.



    I set “Use Categories Path for Product URLs” to "NO", but when I am saving any category it is creating the Catalog URL Rewrites for all the products of that category i.e. one regular url (domain.com/product_name.html) and one for each category path (domain.com/category_path1/product_name.html)



    (domain.com/category_path1/category_path2/product_name.html).



    Magento Version: 2.1.5










    share|improve this question


























      2












      2








      2








      I have a store with few categories. I want to have only one url for each product - domain.com/product_name.html. I don't want to have products URLs with the category path in them.



      I set “Use Categories Path for Product URLs” to "NO", but when I am saving any category it is creating the Catalog URL Rewrites for all the products of that category i.e. one regular url (domain.com/product_name.html) and one for each category path (domain.com/category_path1/product_name.html)



      (domain.com/category_path1/category_path2/product_name.html).



      Magento Version: 2.1.5










      share|improve this question
















      I have a store with few categories. I want to have only one url for each product - domain.com/product_name.html. I don't want to have products URLs with the category path in them.



      I set “Use Categories Path for Product URLs” to "NO", but when I am saving any category it is creating the Catalog URL Rewrites for all the products of that category i.e. one regular url (domain.com/product_name.html) and one for each category path (domain.com/category_path1/product_name.html)



      (domain.com/category_path1/category_path2/product_name.html).



      Magento Version: 2.1.5







      magento2 url url-rewrite seo






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 12 '18 at 14:24







      Nitesh

















      asked Mar 12 '18 at 14:15









      NiteshNitesh

      1,1871 gold badge15 silver badges32 bronze badges




      1,1871 gold badge15 silver badges32 bronze badges




















          1 Answer
          1






          active

          oldest

          votes


















          0














          This is how it works. The setting “Use Categories Path for Product URLs” to "NO" will work as expected on every page(Shopping cart, Recently viewed, Crosssell/upsell, wishlist etc) except product listing page.






          share|improve this answer

























          • I have tested this right now but on shopping cart page same product url showing (domain.com/category_path1/product_name.html) which is unexpected.

            – Nitesh
            Mar 13 '18 at 9:55











          • run indexing, clear cache.

            – Shireen N
            Mar 13 '18 at 10:07











          • There is no url_rewrite indexer in magento 2 but still did reindexing and clean as well as flushed magento cache, nothing changed.

            – Nitesh
            Mar 13 '18 at 12:13











          • This setting not working on Product Listing pages makes no sense. That's the only place I would expect it to have any effect. Did you figure anything out with this? I have this setting turned off too yet it's still generating rewrites I don't want.

            – BrianVPS
            Sep 27 '18 at 20:18













          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "479"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f217006%2fmagento-2-use-categories-path-for-product-urls-configuration-does-not-working%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          This is how it works. The setting “Use Categories Path for Product URLs” to "NO" will work as expected on every page(Shopping cart, Recently viewed, Crosssell/upsell, wishlist etc) except product listing page.






          share|improve this answer

























          • I have tested this right now but on shopping cart page same product url showing (domain.com/category_path1/product_name.html) which is unexpected.

            – Nitesh
            Mar 13 '18 at 9:55











          • run indexing, clear cache.

            – Shireen N
            Mar 13 '18 at 10:07











          • There is no url_rewrite indexer in magento 2 but still did reindexing and clean as well as flushed magento cache, nothing changed.

            – Nitesh
            Mar 13 '18 at 12:13











          • This setting not working on Product Listing pages makes no sense. That's the only place I would expect it to have any effect. Did you figure anything out with this? I have this setting turned off too yet it's still generating rewrites I don't want.

            – BrianVPS
            Sep 27 '18 at 20:18















          0














          This is how it works. The setting “Use Categories Path for Product URLs” to "NO" will work as expected on every page(Shopping cart, Recently viewed, Crosssell/upsell, wishlist etc) except product listing page.






          share|improve this answer

























          • I have tested this right now but on shopping cart page same product url showing (domain.com/category_path1/product_name.html) which is unexpected.

            – Nitesh
            Mar 13 '18 at 9:55











          • run indexing, clear cache.

            – Shireen N
            Mar 13 '18 at 10:07











          • There is no url_rewrite indexer in magento 2 but still did reindexing and clean as well as flushed magento cache, nothing changed.

            – Nitesh
            Mar 13 '18 at 12:13











          • This setting not working on Product Listing pages makes no sense. That's the only place I would expect it to have any effect. Did you figure anything out with this? I have this setting turned off too yet it's still generating rewrites I don't want.

            – BrianVPS
            Sep 27 '18 at 20:18













          0












          0








          0







          This is how it works. The setting “Use Categories Path for Product URLs” to "NO" will work as expected on every page(Shopping cart, Recently viewed, Crosssell/upsell, wishlist etc) except product listing page.






          share|improve this answer















          This is how it works. The setting “Use Categories Path for Product URLs” to "NO" will work as expected on every page(Shopping cart, Recently viewed, Crosssell/upsell, wishlist etc) except product listing page.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Mar 13 '18 at 10:06

























          answered Mar 13 '18 at 6:01









          Shireen NShireen N

          7004 silver badges11 bronze badges




          7004 silver badges11 bronze badges












          • I have tested this right now but on shopping cart page same product url showing (domain.com/category_path1/product_name.html) which is unexpected.

            – Nitesh
            Mar 13 '18 at 9:55











          • run indexing, clear cache.

            – Shireen N
            Mar 13 '18 at 10:07











          • There is no url_rewrite indexer in magento 2 but still did reindexing and clean as well as flushed magento cache, nothing changed.

            – Nitesh
            Mar 13 '18 at 12:13











          • This setting not working on Product Listing pages makes no sense. That's the only place I would expect it to have any effect. Did you figure anything out with this? I have this setting turned off too yet it's still generating rewrites I don't want.

            – BrianVPS
            Sep 27 '18 at 20:18

















          • I have tested this right now but on shopping cart page same product url showing (domain.com/category_path1/product_name.html) which is unexpected.

            – Nitesh
            Mar 13 '18 at 9:55











          • run indexing, clear cache.

            – Shireen N
            Mar 13 '18 at 10:07











          • There is no url_rewrite indexer in magento 2 but still did reindexing and clean as well as flushed magento cache, nothing changed.

            – Nitesh
            Mar 13 '18 at 12:13











          • This setting not working on Product Listing pages makes no sense. That's the only place I would expect it to have any effect. Did you figure anything out with this? I have this setting turned off too yet it's still generating rewrites I don't want.

            – BrianVPS
            Sep 27 '18 at 20:18
















          I have tested this right now but on shopping cart page same product url showing (domain.com/category_path1/product_name.html) which is unexpected.

          – Nitesh
          Mar 13 '18 at 9:55





          I have tested this right now but on shopping cart page same product url showing (domain.com/category_path1/product_name.html) which is unexpected.

          – Nitesh
          Mar 13 '18 at 9:55













          run indexing, clear cache.

          – Shireen N
          Mar 13 '18 at 10:07





          run indexing, clear cache.

          – Shireen N
          Mar 13 '18 at 10:07













          There is no url_rewrite indexer in magento 2 but still did reindexing and clean as well as flushed magento cache, nothing changed.

          – Nitesh
          Mar 13 '18 at 12:13





          There is no url_rewrite indexer in magento 2 but still did reindexing and clean as well as flushed magento cache, nothing changed.

          – Nitesh
          Mar 13 '18 at 12:13













          This setting not working on Product Listing pages makes no sense. That's the only place I would expect it to have any effect. Did you figure anything out with this? I have this setting turned off too yet it's still generating rewrites I don't want.

          – BrianVPS
          Sep 27 '18 at 20:18





          This setting not working on Product Listing pages makes no sense. That's the only place I would expect it to have any effect. Did you figure anything out with this? I have this setting turned off too yet it's still generating rewrites I don't want.

          – BrianVPS
          Sep 27 '18 at 20:18

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f217006%2fmagento-2-use-categories-path-for-product-urls-configuration-does-not-working%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

          Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

          Get RecordId in LWC From Community PageLWC Community recordId undefinedhow to get Personal Access Token from my integrated application LWC. I am using js onlylwc quick action from Opportunity page(aura:component) and not getting @api recordIdLWC Community recordId undefinedLWC - How to get label name of buttonsLWC: Add a region in custom community themeVisual force page redirection from lightning communityLWC NavigationMixin does not work in CommunityInvoking LWC component from a plain URL - Read URL Parameter inside LWCLWC download PDF fileLWC Get Pick-list Field Values