Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ed Collins 4 posts 34 karma points
    Feb 18, 2015 @ 14:09
    Ed Collins
    0

    Results only show one node level deep

    Initially, I installed the package on a sandbox version of our site and the sitemap looked exactly as expected and has many nodes listed. However, with the package installed on our dev server only the first level pages are showing. The second level nodes are in nodes thar are folders (which are not set to be hidden) and these nodes do not show. The sandbox site has nodes below folders in the same manner. Any idea what could be wrong here?  

    We're running Umbraco version 7.1.8 assembly: 1.0.5394.16131

    This is the result I'm seeing: 

      <?xml version="1.0" encoding="UTF-8" ?> 
     <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
     <url>
      <lastmod>2015-02-02T13:24:09+00:00</lastmod> 
      </url>
     <url>
      <lastmod>2015-02-02T13:24:09+00:00</lastmod> 
      </url>
     <url>
      <lastmod>2015-02-18T06:40:55+00:00</lastmod> 
      </url>
      </urlset>
  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Feb 18, 2015 @ 15:10
    Dennis Aaen
    100

    Hi Ed and welcome to our :-),

    The Cultiv Search Engine Sitemap it´s an older package, and I can see that Robort Foster has made a updated version of the Cultiv Search Engine package. You could try to uninstall the Cultiv Search Engine Sitemap package and try to install / use the updated version that Robert has made.

    I have just tried to give it a test run, and I made a folder, document type, and you need to make some changes to the code to get folders out too. You will need to remove this from the where n.TemplateId > 0 && to get the folders out. If the folder has a template you don´t need to make the changes.

    You can find the package here: https://our.umbraco.org/projects/collaboration/search-engine-sitemap

    Hope this helps,

    /Dennis

  • Ed Collins 4 posts 34 karma points
    Feb 18, 2015 @ 19:03
    Ed Collins
    0

    Thanks, Dennis

    That did the trick! Seems to be working well now. 

    Ed 

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Feb 18, 2015 @ 19:08
    Dennis Aaen
    0

    Hi Ed,

    That's really good to hear :) - Remember to mark the topic as solved so others can go straight to the solution if they come across the same issue. You do it by clicking the little green tick on the post that give you the solution.

    Happy Umbraco coding :-) If you have further questions about Umbraco just create a new topic on the forum. We are friendly people that try help each other with Umbraco stuff.

    /Dennis

Please Sign in or register to post replies

Write your reply to:

Draft