Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am working in Umbraco 7.2.4 website.
I have installed razor edition of the Cultive Search Engine Sitemap.
Also create a document type and assign CultivSearchEngineSitemap temaplate to it and make a node using this doc type.
But when I request url it displays nothing.
Any help would be appreciate.
Thanks in advance.
Try to open up the scripting file for the CultivSearchEngineSitemap. Then you need to change a line from
if (node.Level <= maxLevelForSiteMap && node.ChildrenAsList.Count > 0)
if (node.Level <= maxLevelForSiteMap && node.ChildrenAsList.Count() > 0)
Hope this helps,
Thanks for the reply.
I have changed the line in scripting file for the CultivSearchEngineSitemap.
But still not getting anything on the page. Page Source is blank.
I totally forgot that the scripting folder is gone from Umbraco 7.2 I have just tried the XSLT version of the package and it works very fine on Umbraco 7.2.5.
When you have installed the XLST version of the package you should be able to see the XML sitemap at this url http://www.domain.com//CultivSearchEngineSitemap
Let me try with the XSLT version.
Installed xslt version.
But not getting output yet.
Can you please guide me with steps that what you did after installing package.
Hi Urvish,Okay I will try to guide you.1. Make sure that there is a XSLT file in the folder.2. Go to the settings section -- > templates. In this folder you should see a template called CultivSearchEngineSitemap this template should contain the following code like below,
<%@ Master Language="C#" MasterPageFile="/umbraco/masterpages/default.master" AutoEventWireup="true" %><asp:Content ContentPlaceHolderID="ContentPlaceHolderDefault" runat="server"><?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"> <umbraco:Macro Alias="CultivSearchEngineSitemap" runat="server"></umbraco:Macro></urlset></asp:Content>
3. The you should be able to see the XML sitemap on this url http://www.domain.com/CultivSearchEngineSitemapHope this helps,/Dennis
I did the same.
But got nothing.
I think in this xslt version it is creting masterpage. But here the DefaultRenderEngine is MVC.
So this might be the reason that nothing is displaying.
What you say?
I got the solution.
I have removed the Macro and pasted the code from below in Template directly.
It worked like a charm.
Any one wants to implement sitemap in site then they can use above code. It will work.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted