hi how i have sitemap.php but for submitting on goole i require xml site map so how i can conver php to xml i have used this rewrite RewriteRule (.*)\.xml(.*) $1.php$2 [nocase] but this only changes .php to .xml and links remain same i want link in xml format
Create site map in xml formate(sitemap.xml). I suggest a free site map generator tool, that is A1 sitemap generator. Download it and generate xml sitemap.
Don't waste effort by converting a sitemap from one extension to another. Google only recognizes the xml sitemaps and these are the ones that you should load up at the root directory of your site and at the Google Webmasters Tools. If your site has less than 500 pages then you can create a free XML sitemap by going to Google and type XML sitemap generator online. Download it and upload it. Hope this helps.