Please help to create a SiteMap for my site

Discussion in 'PHP' started by pedroki, Nov 24, 2013.

  1. #1
    Hi,
    Please tell me how i can make a SiteMap Page for my site,
    I'm using WP script..
     
    Solved! View solution.
    pedroki, Nov 24, 2013 IP
  2. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #2
    Then do a search in the plugin-section of WP for "sitemap"...
     
    PoPSiCLe, Nov 24, 2013 IP
  3. pedroki

    pedroki Greenhorn

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #3
    @PoPSiCLe
    Thank you for replying, i already have the page (http://www.jeux4u.com/sitemap.xml)
    But i want to make it organised and more beautiful like this one: (www.apple.com/sitemap/)
     
    pedroki, Nov 24, 2013 IP
  4. #4
    They're not really the same thing. The Apple-one is a "sitemap", by all means, but for all intents and purposes, it's a directory for the site (categories, subcategories, and links to all important bits). The sitemap you link to on your own site, is, as the information box on top says, for bots and spiders to get a simple, easy overview of the content on your site. It's not really supposed to be read by humans at all. If you want something akin to the Apple one, you'll have to either look for directory-plugins for WP, or code it yourself. You can of course base it on the XML-file, and even interprete it and pull the data from it, but most likely you'll want to create the layout yourself, and use either database-entries, or arrays to populate the different sub-categories.
     
    PoPSiCLe, Nov 24, 2013 IP
  5. pedroki

    pedroki Greenhorn

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #5
    Okay, I understand it , thank you for your help :D
     
    pedroki, Nov 24, 2013 IP
  6. localhost8080

    localhost8080 Well-Known Member

    Messages:
    225
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    113
    #6
    If you are using wordpress then you can use the 'google xml sitemap' plugin to generate an xml sitemap;
    if you run linux, then I have a little script that I made available that you can turn your xml sitemap into a list of html links to put in a wordpress page:
    http://jonathansblog.co.uk/xml-sitemap-html-simple-bash-script
     
    localhost8080, Nov 26, 2013 IP