Copied to clipboard

Flag this post as spam?

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


  • Pinal Bhatt 298 posts 389 karma points
    Jan 21, 2011 @ 15:10
    Pinal Bhatt
    0

    issue with 4.6.1

    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?

     


  • Sebastiaan Janssen 4847 posts 14368 karma points MVP admin hq
    Jan 21, 2011 @ 17:15
    Sebastiaan Janssen
    0

    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]"/>
  • Pinal Bhatt 298 posts 389 karma points
    Jan 21, 2011 @ 18:04
    Pinal Bhatt
    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:

    No umbraco document matches the url 'http://www.pbdesk.com/cultivsearchenginesitemap.aspx'

    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

    Pinal Bhatt

  • Sebastiaan Janssen 4847 posts 14368 karma points MVP admin hq
    Jan 24, 2011 @ 13:29
    Sebastiaan Janssen
    0

    Weird! Does your 404Handlers.config look like this?

    <?xml version="1.0" encoding="utf-8"?>
    <NotFoundHandlers>
      <notFound assembly="umbraco" type="SearchForAlias" />
      <notFound assembly="umbraco" type="SearchForTemplate" />
      <notFound assembly="umbraco" type="SearchForProfile" />
      <notFound assembly="umbraco" type="handle404"/>
    </NotFoundHandlers>

    The "SearchForTemplate" handler should handle things for you..

  • Pinal Bhatt 298 posts 389 karma points
    Feb 09, 2011 @ 16:41
    Pinal Bhatt
    0

    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  

    -Pinal Bhatt

  • djscorch 67 posts 106 karma points
    May 30, 2013 @ 13:15
    djscorch
    0

    I had a similar issue, if you rename the template - make sure you do it via Umbraco rather than Visual Studio.

Please Sign in or register to post replies

Write your reply to:

Draft