If your website is having a long URL like xyz.com/files/folder/sitemap.html, you can customize it into “example.com/sitemap” in .htaccess

Customize this line according to your needs and then add this code to your .htaccess file.