301 redirect
If I go to WordPress, the URL will not contain the extension .html. In this case, is it better to use a 301 redirect from the old URL to the new URL and resubmit the sitemap, or is it better to add .html to have the same URL structure in the permalink?