Copied to clipboard

Flag this post as spam?

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


  • Hanna 1 post 71 karma points
    Sep 21, 2017 @ 13:20
    Hanna
    0

    Ucommerce URL Product 404

    Hello. I have some problem with my webshop Umbraco 7.6.6 and Ucommerce 7.1.0

    My products URL are not found(404). For example: No umbraco document matches the url '/catalog/product.aspx?catalog=25&product=105'.

    This url generated automation from method GetNiceUrlForProduct '/sklep/marchewkowiec/c-26/p-108' and redirect to '/catalog/product.aspx?catalog=25&product=105'.

    Where is problem?

  • Mads Due 11 posts 72 karma points
    Sep 25, 2017 @ 07:04
    Mads Due
    0

    Hi Hanna

    Thanks for asking.

    Ucommerce makes URL redirect for the requested URL to match a content page in Umbraco and as default Ucommerce except that there is a Product content node in Umbraco. (like on http://umbraco7.ucommerce.net/umbraco/)

    You can see the configuration in the web.config file underneath rewrite. Something like this:

    <rule name="DefaultCategoryProductRewrite">
        <match url="(.*)/c-([0-9]+)/c-([0-9]+)/p-([0-9]+)"/>
        <action type="Rewrite" url="catalog/product.aspx?catalog={R:2}&amp;category={R:3}&amp;product={R:4}"/>
    </rule>
    

    This is looking for a content page matching the rewrite URL in Umbraco.

    Hope this makes sense.

    Ucommerce has it own support forum at Eureka.ucommerce.net, you should get a faster answer on there.

    Regards Mads

Please Sign in or register to post replies

Write your reply to:

Draft