Copied to clipboard

Flag this post as spam?

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


  • Michael Walsh 6 posts 25 karma points
    Mar 24, 2010 @ 12:28
    Michael Walsh
    0

    404 Error

    Hi,

    I'm having some problems with this XSLT.

    The list is being generated without any problems but the paging links are returning a 404 error:

    No umbraco document matches the url 'http://umbraco.domain.com/sectionone/sectiontwo/2'

    umbraco tried this to match it using this xpath query'/root/node/node [@urlName = "sectionone"]/node [@urlName = "sectiontwo"]/node [@urlName = "2"]')

    I have given this other example a try which seems to use query strings for the page numbers:

    http://our.umbraco.org/forum/developers/xslt/1611-Flexible-XSLT-Paging-and-Sorting-Example

    Query strings work but I would much prefer avoiding them.

    At the moment I'm using a wildcard mapping to ASP.Net.

    I'd really appreciate any pointers.

     

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Mar 24, 2010 @ 12:41
    Dirk De Grave
    0

    I'd suggest you look into url rewriting which is available in umbraco install oob. Just have to create your rewriting rule to map

    http://umbraco.domain.com/sectionone/sectiontwo/2

    onto

    http://umbraco.domain.com/sectionone/sectiontwo?p=2

    (doc on url rewriting to be found here)

    Hope this helps.

    Regards,

    /Dirk

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies