Remove language prefix from custom URL Our site exists in several languages. I have installed xmlsitemap module and default link looks like sitename/en/sitemap.xml

I need to remove language prefix just for this link. It seems like there's no settings to disable translation for any specific custom link.

May be I can do it programmatically?
Why not just add a redirect in .htaccess or similar, e.g.?

RewriteRule ^sitemap.xml$ /en/sitemap.xml [R=301,L,QSA]