Magento 2: I need to remove .html from category url Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Magento 2: Product URL Suffixmagento 2 : Remove catalog.leftnav from non anchored category pageMagento2: Need current URL in HTML-head: Scripts and Style Sheets for hreflangHow to get current category name by current category url in observer magento2Remove thumbnail images from category pageHow to remove direct product url in magento 2?Magento 2: How to remove code from html?Is there any way to remove pagination ID from URL?Remove Duplicate admin URL in Magento 2Get Category URL multistore and multisiteMagento 2 controller not getting url params

Why are vacuum tubes still used in amateur radios?

Project Euler #1 in C++

Is CEO the "profession" with the most psychopaths?

How do I find out the mythology and history of my Fortress?

Why are my pictures showing a dark band on one edge?

Tannaka duality for semisimple groups

Is it possible for SQL statements to execute concurrently within a single session in SQL Server?

How were pictures turned from film to a big picture in a picture frame before digital scanning?

An adverb for when you're not exaggerating

Why does it sometimes sound good to play a grace note as a lead in to a note in a melody?

What would you call this weird metallic apparatus that allows you to lift people?

How did Fremen produce and carry enough thumpers to use Sandworms as de facto Ubers?

What does it mean that physics no longer uses mechanical models to describe phenomena?

How to write capital alpha?

Is there public access to the Meteor Crater in Arizona?

Significance of Cersei's obsession with elephants?

How does the math work when buying airline miles?

preposition before coffee

What does 丫 mean? 丫是什么意思?

What do you call the main part of a joke?

What makes a man succeed?

How long can equipment go unused before powering up runs the risk of damage?

Misunderstanding of Sylow theory

Semigroups with no morphisms between them



Magento 2: I need to remove .html from category url



Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Magento 2: Product URL Suffixmagento 2 : Remove catalog.leftnav from non anchored category pageMagento2: Need current URL in HTML-head: Scripts and Style Sheets for hreflangHow to get current category name by current category url in observer magento2Remove thumbnail images from category pageHow to remove direct product url in magento 2?Magento 2: How to remove code from html?Is there any way to remove pagination ID from URL?Remove Duplicate admin URL in Magento 2Get Category URL multistore and multisiteMagento 2 controller not getting url params



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








0















I need to remove .html from category Url.



e.g



https://mysite/categoryname.html

Required url:

https://mysite/categoryname


I am removing from admin. But it's not working.



Does anyone have a solution for this?



Thanks










share|improve this question






















  • where you have change setting

    – Amit Bera
    2 days ago






  • 2





    Did you try to spend some time on internet to search about it !!

    – Vivek
    2 days ago











  • Go to Stores > Configuration > Catalog > Catalog > Search Engine Optimization > Category URL Suffix to remove .html you can change configuration and save it.

    – Prathap Gunasekaran
    2 days ago






  • 2





    Possible duplicate of Magento 2: Product URL Suffix

    – ABHISHEK TRIPATHI
    2 days ago











  • When I try to remove the Catalog URL Suffix I am getting following error: Unique constraint violation found

    – Shiwani
    2 days ago


















0















I need to remove .html from category Url.



e.g



https://mysite/categoryname.html

Required url:

https://mysite/categoryname


I am removing from admin. But it's not working.



Does anyone have a solution for this?



Thanks










share|improve this question






















  • where you have change setting

    – Amit Bera
    2 days ago






  • 2





    Did you try to spend some time on internet to search about it !!

    – Vivek
    2 days ago











  • Go to Stores > Configuration > Catalog > Catalog > Search Engine Optimization > Category URL Suffix to remove .html you can change configuration and save it.

    – Prathap Gunasekaran
    2 days ago






  • 2





    Possible duplicate of Magento 2: Product URL Suffix

    – ABHISHEK TRIPATHI
    2 days ago











  • When I try to remove the Catalog URL Suffix I am getting following error: Unique constraint violation found

    – Shiwani
    2 days ago














0












0








0








I need to remove .html from category Url.



e.g



https://mysite/categoryname.html

Required url:

https://mysite/categoryname


I am removing from admin. But it's not working.



Does anyone have a solution for this?



Thanks










share|improve this question














I need to remove .html from category Url.



e.g



https://mysite/categoryname.html

Required url:

https://mysite/categoryname


I am removing from admin. But it's not working.



Does anyone have a solution for this?



Thanks







magento2






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 2 days ago









ShiwaniShiwani

619




619












  • where you have change setting

    – Amit Bera
    2 days ago






  • 2





    Did you try to spend some time on internet to search about it !!

    – Vivek
    2 days ago











  • Go to Stores > Configuration > Catalog > Catalog > Search Engine Optimization > Category URL Suffix to remove .html you can change configuration and save it.

    – Prathap Gunasekaran
    2 days ago






  • 2





    Possible duplicate of Magento 2: Product URL Suffix

    – ABHISHEK TRIPATHI
    2 days ago











  • When I try to remove the Catalog URL Suffix I am getting following error: Unique constraint violation found

    – Shiwani
    2 days ago


















  • where you have change setting

    – Amit Bera
    2 days ago






  • 2





    Did you try to spend some time on internet to search about it !!

    – Vivek
    2 days ago











  • Go to Stores > Configuration > Catalog > Catalog > Search Engine Optimization > Category URL Suffix to remove .html you can change configuration and save it.

    – Prathap Gunasekaran
    2 days ago






  • 2





    Possible duplicate of Magento 2: Product URL Suffix

    – ABHISHEK TRIPATHI
    2 days ago











  • When I try to remove the Catalog URL Suffix I am getting following error: Unique constraint violation found

    – Shiwani
    2 days ago

















where you have change setting

– Amit Bera
2 days ago





where you have change setting

– Amit Bera
2 days ago




2




2





Did you try to spend some time on internet to search about it !!

– Vivek
2 days ago





Did you try to spend some time on internet to search about it !!

– Vivek
2 days ago













Go to Stores > Configuration > Catalog > Catalog > Search Engine Optimization > Category URL Suffix to remove .html you can change configuration and save it.

– Prathap Gunasekaran
2 days ago





Go to Stores > Configuration > Catalog > Catalog > Search Engine Optimization > Category URL Suffix to remove .html you can change configuration and save it.

– Prathap Gunasekaran
2 days ago




2




2





Possible duplicate of Magento 2: Product URL Suffix

– ABHISHEK TRIPATHI
2 days ago





Possible duplicate of Magento 2: Product URL Suffix

– ABHISHEK TRIPATHI
2 days ago













When I try to remove the Catalog URL Suffix I am getting following error: Unique constraint violation found

– Shiwani
2 days ago






When I try to remove the Catalog URL Suffix I am getting following error: Unique constraint violation found

– Shiwani
2 days ago











1 Answer
1






active

oldest

votes


















1














Open admin panel and go to :-




Stores >> Configuration >> Catalog >> Search Engine Optimization




Here Two option



Product URL Suffix = .html 

Category URL Suffix= .html


Please leave as Blank



Please see screenshots :- https://prnt.sc/nd2owm



If you get this type of error :-




Unique constraint violation found




Please Follow this steps one by one.



1). Backup your current Magento2 database



2). Delete all records from table url_rewrite. You can run the following SQL command: DELETE FROM url_rewrite WHERE entity_type = 'product';



3).Login to your Magento 2 backend >> Re-save all your Categories
and then run this command :- php bin/magento cache:flush



4).Then you will be able to save the Product URL Suffix in the Configuration Settings.






share|improve this answer

























    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%2f270434%2fmagento-2-i-need-to-remove-html-from-category-url%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









    1














    Open admin panel and go to :-




    Stores >> Configuration >> Catalog >> Search Engine Optimization




    Here Two option



    Product URL Suffix = .html 

    Category URL Suffix= .html


    Please leave as Blank



    Please see screenshots :- https://prnt.sc/nd2owm



    If you get this type of error :-




    Unique constraint violation found




    Please Follow this steps one by one.



    1). Backup your current Magento2 database



    2). Delete all records from table url_rewrite. You can run the following SQL command: DELETE FROM url_rewrite WHERE entity_type = 'product';



    3).Login to your Magento 2 backend >> Re-save all your Categories
    and then run this command :- php bin/magento cache:flush



    4).Then you will be able to save the Product URL Suffix in the Configuration Settings.






    share|improve this answer





























      1














      Open admin panel and go to :-




      Stores >> Configuration >> Catalog >> Search Engine Optimization




      Here Two option



      Product URL Suffix = .html 

      Category URL Suffix= .html


      Please leave as Blank



      Please see screenshots :- https://prnt.sc/nd2owm



      If you get this type of error :-




      Unique constraint violation found




      Please Follow this steps one by one.



      1). Backup your current Magento2 database



      2). Delete all records from table url_rewrite. You can run the following SQL command: DELETE FROM url_rewrite WHERE entity_type = 'product';



      3).Login to your Magento 2 backend >> Re-save all your Categories
      and then run this command :- php bin/magento cache:flush



      4).Then you will be able to save the Product URL Suffix in the Configuration Settings.






      share|improve this answer



























        1












        1








        1







        Open admin panel and go to :-




        Stores >> Configuration >> Catalog >> Search Engine Optimization




        Here Two option



        Product URL Suffix = .html 

        Category URL Suffix= .html


        Please leave as Blank



        Please see screenshots :- https://prnt.sc/nd2owm



        If you get this type of error :-




        Unique constraint violation found




        Please Follow this steps one by one.



        1). Backup your current Magento2 database



        2). Delete all records from table url_rewrite. You can run the following SQL command: DELETE FROM url_rewrite WHERE entity_type = 'product';



        3).Login to your Magento 2 backend >> Re-save all your Categories
        and then run this command :- php bin/magento cache:flush



        4).Then you will be able to save the Product URL Suffix in the Configuration Settings.






        share|improve this answer















        Open admin panel and go to :-




        Stores >> Configuration >> Catalog >> Search Engine Optimization




        Here Two option



        Product URL Suffix = .html 

        Category URL Suffix= .html


        Please leave as Blank



        Please see screenshots :- https://prnt.sc/nd2owm



        If you get this type of error :-




        Unique constraint violation found




        Please Follow this steps one by one.



        1). Backup your current Magento2 database



        2). Delete all records from table url_rewrite. You can run the following SQL command: DELETE FROM url_rewrite WHERE entity_type = 'product';



        3).Login to your Magento 2 backend >> Re-save all your Categories
        and then run this command :- php bin/magento cache:flush



        4).Then you will be able to save the Product URL Suffix in the Configuration Settings.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 2 days ago

























        answered 2 days ago









        Magento_BhurioMagento_Bhurio

        445112




        445112



























            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%2f270434%2fmagento-2-i-need-to-remove-html-from-category-url%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?