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 installed Cultiv Search Engine Sitemap on Umbraco 4.6.1 installation. Installation went fine.
But as said in documentation, accessing /cultivsearchenginesitemap.aspx does not works. I am getting 404/Page not found error.
Then i created a new content page and assigned CultivSearchEngineSitemap template to it. Accessing this page works fine and give me the desired sitemap. ( http://www.pbdesk.com/seositemap.aspx )
Further one more question: In the rendered sitemap xml i don't see any entry for homepage? Is this the desired behavour?
I do not have this issue on a fresh 4.6.1 install.. But if you remove the .aspx, is the issue still there? This works using the altTemplate method, so there has to be a template called CultivSearchEngineSitemap for this to work, did you rename it maybe?
Yes, this is desired behaviour, typically, I want the Home page to be under "site" node, like so:
- Site-- Home-- About-- Contact
I have blogged about this recently.
But, if you've already set your site up differently, change this line:
<xsl:with-param name="parent" select="$currentPage/ancestor-or-self::*[@level=1]"/>
To start at level 0 instead:
<xsl:with-param name="parent" select="$currentPage/ancestor-or-self::*[@level=0]"/>
Thanks for the reply.
Mine is also a fresh 4.6.1 installation. and yes template with name and alias "CultivSearchEngineSitemap" does exists.
But the following url does not works. Do i need to do any changes to have altTemplate method run properly?
http://www.pbdesk.com/cultivsearchenginesitemap.aspx throws below exception:
But my workaround of creating content page with CultivSearchEngineSitemap template still works. (http://www.pbdesk.com/seositemap.aspx)
And for home page, its fine now. I have my workaround for that. Thanks for the imformation.
Thanks & Regards
Weird! Does your 404Handlers.config look like this?
<?xml version="1.0" encoding="utf-8"?>
<notFound assembly="umbraco" type="SearchForAlias" />
<notFound assembly="umbraco" type="SearchForTemplate" />
<notFound assembly="umbraco" type="SearchForProfile" />
<notFound assembly="umbraco" type="handle404"/>
The "SearchForTemplate" handler should handle things for you..
Hi Sebastiaan Janssen,
I dont know what but i am having issue with my 404 handler. Can you please look into http://our.umbraco.org/forum/core/general/17185-404-handler-not-working-for-me-in-461
I had a similar issue, if you rename the template - make sure you do it via Umbraco rather than Visual Studio.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted