0

For some reason, I am getting .html in my product URL, like so: https://example.com/mycategory.html/myproduct.html. I want to remove .html from mycategory when I am on a product page.

Is there a setting for this? I know I can remove .html from the category completely, but this is not what I want, I want it to be there in category pages. Strange thing is, for some products it works, no .html in the category path.

Magento 2.3.3

Thanks

asked Aug 4, 2020 at 8:19
2
  • 1
    Please refer this magento.stackexchange.com/questions/204984/… Commented Aug 4, 2020 at 8:55
  • Wont that remove it from the category URL on the category page itself also? Commented Aug 4, 2020 at 9:27

1 Answer 1

0

Go to

Stores-> Configuration-> Catalog-> Catalog-> 
Search Engine Optimization-> Category URL Suffix

to remove .html you can change configuration and save it.

answered Aug 4, 2020 at 9:01
1
  • This will also remove it from the category page URL, which is not what I want. Commented Aug 4, 2020 at 9:26

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.