Well, is not an xml file, is a php file that if executed can generate an xml file. But currently when somedbody access that URL the php code is not executed, instead is only displaying its content, and this is a security hole in your system. So you need to fix the configuration on your server and make that url run that php code.
yea u right . there was a line in .htaccess that it makes that file working well . after i start using xml-sitemaps for my website , that line was the reason of the problems in my Sitemaps !!! so xml-sitemaps support removed that line from .htaccess and after that XML file is not working i dunno what to do now ... how can i make a Good XML file beside of using xml-sitemaps ?? Thanks anyway for trying to help + for now i removed that file from the server cuz of the security hole that u said and i didnt know about it ty
I have not tried myself but you can find several free tools to generate sitemaps on this page: XML Sitemap Tools Under different plataforms: Java, Php, Python, .net ...
No sorry i guess explained badly . i have XML sitemap generator . that s why when i use that line in .htaccess i can not see that RSS.xml file . so what i meant was how can i have a working RSS file beside of my sitemap generator.
Ah, ok. You can try this: rename your .php file (previously named rss.xml) to myrss.php for example, and add this line in your .htaccess file: RewriteRule ^rss\.xml$ /myrss.php [L] Code (markup): Then try to access your rss.xml to see if your php file is executed or not.