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

          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

          Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form