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 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.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.