Cannot remove “.html” from URL in Magento 2Tried everything to get index.php out of the URL and everything returns Not Found errorRedirecting to Non-SEO Friendly UrlRemove /home url from sitemap and url site structureSlash as category URL suffix gives 404 error on all category pagesMagento 2 Category url rewrite is not workingMagento URL rewrite from SEO friendly URL's to new storeMagento 2 : Product URL rewrite issueMagento 2 URL issuesBreadcrumb generating non seo urlMagento 1.9 - Layered Navigation Links Ending with ?cat= or ?brand=
Do I have a twin with permutated remainders?
Has the BBC provided arguments for saying Brexit being cancelled is unlikely?
How is the claim "I am in New York only if I am in America" the same as "If I am in New York, then I am in America?
Is it possible to do 50 km distance without any previous training?
What do the dots in this tr command do: tr .............A-Z A-ZA-Z <<< "JVPQBOV" (with 13 dots)
Why, historically, did Gödel think CH was false?
How to find program name(s) of an installed package?
"to be prejudice towards/against someone" vs "to be prejudiced against/towards someone"
Accidentally leaked the solution to an assignment, what to do now? (I'm the prof)
What defenses are there against being summoned by the Gate spell?
What is the word for reserving something for yourself before others do?
What's the point of deactivating Num Lock on login screens?
Is it legal for company to use my work email to pretend I still work there?
US citizen flying to France today and my passport expires in less than 2 months
Risk of getting Chronic Wasting Disease (CWD) in the United States?
Mathematical cryptic clues
How old can references or sources in a thesis be?
To string or not to string
How is it possible to have an ability score that is less than 3?
How do I create uniquely male characters?
TGV timetables / schedules?
What's the output of a record cartridge playing an out-of-speed record
Dragon forelimb placement
How does one intimidate enemies without having the capacity for violence?
Cannot remove “.html” from URL in Magento 2
Tried everything to get index.php out of the URL and everything returns Not Found errorRedirecting to Non-SEO Friendly UrlRemove /home url from sitemap and url site structureSlash as category URL suffix gives 404 error on all category pagesMagento 2 Category url rewrite is not workingMagento URL rewrite from SEO friendly URL's to new storeMagento 2 : Product URL rewrite issueMagento 2 URL issuesBreadcrumb generating non seo urlMagento 1.9 - Layered Navigation Links Ending with ?cat= or ?brand=
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am trying to remove ".html" from the URL. Attached are my catalog SEO setting in the Magento 2. As you can see I have remove the ".html" from both Category URL Suffix and Product URL Suffix.
I'm stumped as to why it still shows the .html at the end. I have cleared all caches and reindexed all indexes.
magento2 url-rewrite seo
add a comment |
I am trying to remove ".html" from the URL. Attached are my catalog SEO setting in the Magento 2. As you can see I have remove the ".html" from both Category URL Suffix and Product URL Suffix.
I'm stumped as to why it still shows the .html at the end. I have cleared all caches and reindexed all indexes.
magento2 url-rewrite seo
Delete var folder from root and check it after browser cache.
– Suresh Chikani
Sep 28 '16 at 7:33
I deleted everything in the root var folder, cleared all caches and it still shows .html at the end of product URL's even though it's removed from the product suffix.
– Tim K.
Sep 29 '16 at 2:45
We could not even remove the .html suffix as it presented some duplicate entry error.
– Webninja
Nov 8 '16 at 20:27
add a comment |
I am trying to remove ".html" from the URL. Attached are my catalog SEO setting in the Magento 2. As you can see I have remove the ".html" from both Category URL Suffix and Product URL Suffix.
I'm stumped as to why it still shows the .html at the end. I have cleared all caches and reindexed all indexes.
magento2 url-rewrite seo
I am trying to remove ".html" from the URL. Attached are my catalog SEO setting in the Magento 2. As you can see I have remove the ".html" from both Category URL Suffix and Product URL Suffix.
I'm stumped as to why it still shows the .html at the end. I have cleared all caches and reindexed all indexes.
magento2 url-rewrite seo
magento2 url-rewrite seo
asked Sep 27 '16 at 17:17
Tim K.Tim K.
413
413
Delete var folder from root and check it after browser cache.
– Suresh Chikani
Sep 28 '16 at 7:33
I deleted everything in the root var folder, cleared all caches and it still shows .html at the end of product URL's even though it's removed from the product suffix.
– Tim K.
Sep 29 '16 at 2:45
We could not even remove the .html suffix as it presented some duplicate entry error.
– Webninja
Nov 8 '16 at 20:27
add a comment |
Delete var folder from root and check it after browser cache.
– Suresh Chikani
Sep 28 '16 at 7:33
I deleted everything in the root var folder, cleared all caches and it still shows .html at the end of product URL's even though it's removed from the product suffix.
– Tim K.
Sep 29 '16 at 2:45
We could not even remove the .html suffix as it presented some duplicate entry error.
– Webninja
Nov 8 '16 at 20:27
Delete var folder from root and check it after browser cache.
– Suresh Chikani
Sep 28 '16 at 7:33
Delete var folder from root and check it after browser cache.
– Suresh Chikani
Sep 28 '16 at 7:33
I deleted everything in the root var folder, cleared all caches and it still shows .html at the end of product URL's even though it's removed from the product suffix.
– Tim K.
Sep 29 '16 at 2:45
I deleted everything in the root var folder, cleared all caches and it still shows .html at the end of product URL's even though it's removed from the product suffix.
– Tim K.
Sep 29 '16 at 2:45
We could not even remove the .html suffix as it presented some duplicate entry error.
– Webninja
Nov 8 '16 at 20:27
We could not even remove the .html suffix as it presented some duplicate entry error.
– Webninja
Nov 8 '16 at 20:27
add a comment |
3 Answers
3
active
oldest
votes
I had the same issue,
for me, all pages are working except the home page.
I did all the all settings and reindexed, cache cleared etc, but the error remained.
so finally found the solution for this issue
remove "noroute" from "Default No-route URL" field under Default Page in Stores -> Configuration -> web.
Finally, filed value ll be "cms/index".
this may help one day for someone.
add a comment |
Here are the steps to solve the issue:
- Backup your current Magento2 database
Delete all records from table
url_rewrite. You can run the following SQL command:DELETE FROM url_rewrite WHERE entity_type = 'product';Login to your Magento 2 backend
- Re-save all your Categories
- Clean the Magento2 cache
- Now, you should be able to save/update the
Product URL Suffixin theConfiguration Settings.
add a comment |
This worked for me:
UPDATE `url_rewrite` SET `request_path` = REPLACE(`request_path`, ".html", "")
It simply removes the .html suffix from the URL rewrites table. You then need to reindex after.
New contributor
Matthew Inamdar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
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%2f138317%2fcannot-remove-html-from-url-in-magento-2%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
I had the same issue,
for me, all pages are working except the home page.
I did all the all settings and reindexed, cache cleared etc, but the error remained.
so finally found the solution for this issue
remove "noroute" from "Default No-route URL" field under Default Page in Stores -> Configuration -> web.
Finally, filed value ll be "cms/index".
this may help one day for someone.
add a comment |
I had the same issue,
for me, all pages are working except the home page.
I did all the all settings and reindexed, cache cleared etc, but the error remained.
so finally found the solution for this issue
remove "noroute" from "Default No-route URL" field under Default Page in Stores -> Configuration -> web.
Finally, filed value ll be "cms/index".
this may help one day for someone.
add a comment |
I had the same issue,
for me, all pages are working except the home page.
I did all the all settings and reindexed, cache cleared etc, but the error remained.
so finally found the solution for this issue
remove "noroute" from "Default No-route URL" field under Default Page in Stores -> Configuration -> web.
Finally, filed value ll be "cms/index".
this may help one day for someone.
I had the same issue,
for me, all pages are working except the home page.
I did all the all settings and reindexed, cache cleared etc, but the error remained.
so finally found the solution for this issue
remove "noroute" from "Default No-route URL" field under Default Page in Stores -> Configuration -> web.
Finally, filed value ll be "cms/index".
this may help one day for someone.
answered Dec 12 '18 at 12:14
Shameem Ali P.KShameem Ali P.K
266
266
add a comment |
add a comment |
Here are the steps to solve the issue:
- Backup your current Magento2 database
Delete all records from table
url_rewrite. You can run the following SQL command:DELETE FROM url_rewrite WHERE entity_type = 'product';Login to your Magento 2 backend
- Re-save all your Categories
- Clean the Magento2 cache
- Now, you should be able to save/update the
Product URL Suffixin theConfiguration Settings.
add a comment |
Here are the steps to solve the issue:
- Backup your current Magento2 database
Delete all records from table
url_rewrite. You can run the following SQL command:DELETE FROM url_rewrite WHERE entity_type = 'product';Login to your Magento 2 backend
- Re-save all your Categories
- Clean the Magento2 cache
- Now, you should be able to save/update the
Product URL Suffixin theConfiguration Settings.
add a comment |
Here are the steps to solve the issue:
- Backup your current Magento2 database
Delete all records from table
url_rewrite. You can run the following SQL command:DELETE FROM url_rewrite WHERE entity_type = 'product';Login to your Magento 2 backend
- Re-save all your Categories
- Clean the Magento2 cache
- Now, you should be able to save/update the
Product URL Suffixin theConfiguration Settings.
Here are the steps to solve the issue:
- Backup your current Magento2 database
Delete all records from table
url_rewrite. You can run the following SQL command:DELETE FROM url_rewrite WHERE entity_type = 'product';Login to your Magento 2 backend
- Re-save all your Categories
- Clean the Magento2 cache
- Now, you should be able to save/update the
Product URL Suffixin theConfiguration Settings.
answered Jan 17 at 7:37
Mukesh ChapagainMukesh Chapagain
3,88612243
3,88612243
add a comment |
add a comment |
This worked for me:
UPDATE `url_rewrite` SET `request_path` = REPLACE(`request_path`, ".html", "")
It simply removes the .html suffix from the URL rewrites table. You then need to reindex after.
New contributor
Matthew Inamdar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
This worked for me:
UPDATE `url_rewrite` SET `request_path` = REPLACE(`request_path`, ".html", "")
It simply removes the .html suffix from the URL rewrites table. You then need to reindex after.
New contributor
Matthew Inamdar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
This worked for me:
UPDATE `url_rewrite` SET `request_path` = REPLACE(`request_path`, ".html", "")
It simply removes the .html suffix from the URL rewrites table. You then need to reindex after.
New contributor
Matthew Inamdar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
This worked for me:
UPDATE `url_rewrite` SET `request_path` = REPLACE(`request_path`, ".html", "")
It simply removes the .html suffix from the URL rewrites table. You then need to reindex after.
New contributor
Matthew Inamdar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Matthew Inamdar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered Apr 3 at 16:47
Matthew InamdarMatthew Inamdar
11
11
New contributor
Matthew Inamdar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Matthew Inamdar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Matthew Inamdar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
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%2f138317%2fcannot-remove-html-from-url-in-magento-2%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
Delete var folder from root and check it after browser cache.
– Suresh Chikani
Sep 28 '16 at 7:33
I deleted everything in the root var folder, cleared all caches and it still shows .html at the end of product URL's even though it's removed from the product suffix.
– Tim K.
Sep 29 '16 at 2:45
We could not even remove the .html suffix as it presented some duplicate entry error.
– Webninja
Nov 8 '16 at 20:27