I know how remove .html extension from URL’s in Magneto 2.3, but I’m unsure what other steps I need to take to make sure I do everything properly.
I found that I should also create a global redirect in .htaccess but is there anything else I should take into consideration?
This is what I found to add in .htaccess.
RewriteCond %{THE_REQUEST} ^GET (.*).html HTTP
RewriteRule (.*).html$ $1 [R=301]