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 get sitemap fro my dynamic site

Discussion in 'Google Sitemaps' started by DIA_8497, Jul 8, 2010.

  1. #1
    Hi,

    I want to know, that how can i get the sitemap for my site, it's ecommerce site. New pages are added with new products and deleted once product is unavailable. Kindly provide the solution for it.

    Thanks :)
     
    DIA_8497, Jul 8, 2010 IP
  2. websitetools

    websitetools Well-Known Member

    Messages:
    1,513
    Likes Received:
    25
    Best Answers:
    4
    Trophy Points:
    170
    #2
    websitetools, Jul 8, 2010 IP
  3. greenoro0

    greenoro0 Active Member

    Messages:
    435
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    70
    #3
    Microsys is one of the best sitemap generator and Google also recommend it. It will automatic generate it
     
    greenoro0, Jul 14, 2010 IP
  4. Deacalion

    Deacalion Peon

    Messages:
    438
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #4
    If you are running a proprietary CMS I suggest you take a look at the sitemap protocol (http://www.sitemaps.org/) and write a PHP script that queries the database for all products that are active (plus every other page) and generates a sitemap.

    Put this at the top of your PHP script:
    
    header("Content-type: text/xml");
    
    PHP:
    and have an entry in .htaccess like this:
    
    # Dynamic Sitemap
    RewriteRule sitemap.xml sitemap_generator.php
    
    Code (markup):
     
    Deacalion, Jul 14, 2010 IP
  5. MissSapphire

    MissSapphire Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I was looking for the answer for so long, but now I tried the Microsys that greenoro0's recommended and it seems to work perfectly. Thanks a lot!!
     
    MissSapphire, Jul 15, 2010 IP