Those problems can be solved with the following:
- Add this code to the top of your .htaccess file. It will remove the .HTML and .PHP file extensions.
RewriteEngine on
RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.php [NC]
RewriteRule ^ %1 [R,L,NC]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.html [NC]
RewriteRule ^ %1 [R,L,NC]
- Use Cloudflare with your site. This will remove the id, and allow sitemap generators to view your site.