Category name on product url still working after “Use Categories Path for Product URLs” set to no Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Magento: 'Use categories path for product URL’s to no' - Will the old URLs be auto redirected?Redirect product url with category pathMagento 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 setupDisable product url without category path (SEO)URL Rewrite issue - category/sub-category/product urls not workingMagento 2: “Use Categories Path for Product URLs” configuration does not working correctlyMagento2: Remove Category path from product URL is not workingHow to prevent autogenerated category and product rewrite urlsDisable Product URL without Category Path

Suing a Police Officer Instead of the Police Department

What do you call an IPA symbol that lacks a name (e.g. ɲ)?

Why isn't everyone flabbergasted about Bran's "gift"?

Is it accepted to use working hours to read general interest books?

Married in secret, can marital status in passport be changed at a later date?

France's Public Holidays' Puzzle

Why doesn't the university give past final exams' answers?

Getting AggregateResult variables from Execute Anonymous Window

Protagonist's race is hidden - should I reveal it?

What is the ongoing value of the Kanban board to the developers as opposed to management

What is a 'Key' in computer science?

Where to find documentation for `whois` command options?

RIP Packet Format

Where can I find how to tex symbols for different fonts?

Why does the Cisco show run command not show the full version, while the show version command does?

How can I wire a 9-position switch so that each position turns on one more LED than the one before?

My admission is revoked after accepting the admission offer

false 'Security alert' from Google - every login generates mails from 'no-reply@accounts.google.com'

Like totally amazing interchangeable sister outfit accessory swapping or whatever

How did Elite on the NES work?

When speaking, how do you change your mind mid-sentence?

What to do with someone that cheated their way though university and a PhD program?

Bright yellow or light yellow?

How was Lagrange appointed professor of mathematics so early?



Category name on product url still working after “Use Categories Path for Product URLs” set to no



Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Magento: 'Use categories path for product URL’s to no' - Will the old URLs be auto redirected?Redirect product url with category pathMagento 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 setupDisable product url without category path (SEO)URL Rewrite issue - category/sub-category/product urls not workingMagento 2: “Use Categories Path for Product URLs” configuration does not working correctlyMagento2: Remove Category path from product URL is not workingHow to prevent autogenerated category and product rewrite urlsDisable Product URL without Category Path



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








1















"Use Categories Path for Product URLs" set to no on admin panel



But everytime I create a new product, it creates rewrite also for category/product url



So both of them work: example.com/category/product and example.com/product



But I don't want Magento to create automatically the category inside the product url automatically, does anyone know how to disable it?










share|improve this question




























    1















    "Use Categories Path for Product URLs" set to no on admin panel



    But everytime I create a new product, it creates rewrite also for category/product url



    So both of them work: example.com/category/product and example.com/product



    But I don't want Magento to create automatically the category inside the product url automatically, does anyone know how to disable it?










    share|improve this question
























      1












      1








      1








      "Use Categories Path for Product URLs" set to no on admin panel



      But everytime I create a new product, it creates rewrite also for category/product url



      So both of them work: example.com/category/product and example.com/product



      But I don't want Magento to create automatically the category inside the product url automatically, does anyone know how to disable it?










      share|improve this question














      "Use Categories Path for Product URLs" set to no on admin panel



      But everytime I create a new product, it creates rewrite also for category/product url



      So both of them work: example.com/category/product and example.com/product



      But I don't want Magento to create automatically the category inside the product url automatically, does anyone know how to disable it?







      magento2 product category url url-rewrite






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 2 days ago









      xdevxdev

      637




      637




















          1 Answer
          1






          active

          oldest

          votes


















          0














          After that, you must reindex and refresh the cache.



          php bin/magento indexer:reindex
          php bin/magento cache:flush





          share|improve this answer

























          • This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review

            – Jai
            2 days ago











          • it's not working, in the category page the product link has no category name, but it still creates the rewrite url for both link (with and without category name) when I create a new product.

            – xdev
            2 days ago











          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%2f270869%2fcategory-name-on-product-url-still-working-after-use-categories-path-for-produc%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














          After that, you must reindex and refresh the cache.



          php bin/magento indexer:reindex
          php bin/magento cache:flush





          share|improve this answer

























          • This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review

            – Jai
            2 days ago











          • it's not working, in the category page the product link has no category name, but it still creates the rewrite url for both link (with and without category name) when I create a new product.

            – xdev
            2 days ago















          0














          After that, you must reindex and refresh the cache.



          php bin/magento indexer:reindex
          php bin/magento cache:flush





          share|improve this answer

























          • This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review

            – Jai
            2 days ago











          • it's not working, in the category page the product link has no category name, but it still creates the rewrite url for both link (with and without category name) when I create a new product.

            – xdev
            2 days ago













          0












          0








          0







          After that, you must reindex and refresh the cache.



          php bin/magento indexer:reindex
          php bin/magento cache:flush





          share|improve this answer















          After that, you must reindex and refresh the cache.



          php bin/magento indexer:reindex
          php bin/magento cache:flush






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 2 days ago

























          answered 2 days ago









          Sudhanshu BajajSudhanshu Bajaj

          385




          385












          • This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review

            – Jai
            2 days ago











          • it's not working, in the category page the product link has no category name, but it still creates the rewrite url for both link (with and without category name) when I create a new product.

            – xdev
            2 days ago

















          • This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review

            – Jai
            2 days ago











          • it's not working, in the category page the product link has no category name, but it still creates the rewrite url for both link (with and without category name) when I create a new product.

            – xdev
            2 days ago
















          This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review

          – Jai
          2 days ago





          This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review

          – Jai
          2 days ago













          it's not working, in the category page the product link has no category name, but it still creates the rewrite url for both link (with and without category name) when I create a new product.

          – xdev
          2 days ago





          it's not working, in the category page the product link has no category name, but it still creates the rewrite url for both link (with and without category name) when I create a new product.

          – xdev
          2 days ago

















          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%2f270869%2fcategory-name-on-product-url-still-working-after-use-categories-path-for-produc%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

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

          Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

          Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?