0
Now is: www.example.de/cool-shoes.html
Will be: www.example.de/cool-shoes

I want to remove .htmlfrom URL through .htaccess

1 Answer 1

1

You can do that from stores->configuration->catalog->search engine optimization. there are 2 suffix fields. one for category and one for product. make them empty and rebuild the indexes.

1
  • I don't want to do through configuration. I want to do it through .htaccess file
    – Vivek
    Commented Jan 4, 2021 at 11:54

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.