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;
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
|
show 1 more comment
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
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
|
show 1 more comment
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
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
magento2
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
|
show 1 more comment
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
|
show 1 more comment
1 Answer
1
active
oldest
votes
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.
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
edited 2 days ago
answered 2 days ago
Magento_BhurioMagento_Bhurio
445112
445112
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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