I've added a permanent 301 redirect to my Magento 2 store to remove .html
from my category and product urls by adding the following code to my website .conf file - I'm using Apache
redirectMatch 301 ^(.*)\.html $1
The redirect works fine as I don't get any 404 errors for existing products and categories that have .html in the url but now I have another problem.
I am now getting 404 errors for static content even though I have deployed them on the frontend and backend/admin
If I remove the 301 everything loads a normal. Does anyone know what I've done wrong?
.html
files in admin and front side especially on the checkout page. – kunj May 17 '18 at 11:17