1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to convert sitemap.php to sitemap.xml???

Discussion in 'Google Sitemaps' started by golden7849, Jul 14, 2011.

  1. #1
    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
    SEMrush
     
    golden7849, Jul 14, 2011 IP
    SEMrush
  2. Ashley Sally

    Ashley Sally Member

    Messages:
    250
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    48
    #2
    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.
     
    Ashley Sally, Jul 15, 2011 IP
  3. unknownpray

    unknownpray Active Member

    Messages:
    3,832
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    70
    #3
    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.
     
    unknownpray, Aug 23, 2011 IP