Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 5 of 5

Thread: Product urls

  1. #1
    Tom Cox is offline Senior Member
    Join Date
    Nov 2009
    Location
    Los Angeles, CA
    Posts
    104

    Default Product urls

    Are product urls stored in the db somewhere or are they generated dynamically?

    For example, I see product urls of the form:
    http://storename/p-nn-name-of-product.aspx

    where the p is used for all products, nn is the product ID assigned by aspdnsf and the product name is the name we gave it with hyphens replacing spaces.

    Thanks

  2. #2
    Mike The Last Boyscout is offline User
    Join Date
    Nov 2008
    Posts
    254

    Default

    The URLs are built dynamically at page load. We use the SEName field within the database to build the product/category/entity name portion of the links. They will all follow the same general format, whether you're looking at a product (p-##), category (c-##), topic (t-), etc.

  3. #3
    Tom Cox is offline Senior Member
    Join Date
    Nov 2009
    Location
    Los Angeles, CA
    Posts
    104

    Default

    Thank you very much

  4. #4
    phete is offline Junior Member
    Join Date
    Jul 2009
    Posts
    2

    Default

    Is it possible (with the source code) to redo the building of these urls?
    Our customer wants something along the lines of:

    site.com/products/{id}/{SEName}
    and
    site.com/categories/{id}/{SEName}

    etc.

    We haven't bought the source yet, but thought about doing so in order to fix this issue.

  5. #5
    AspDotNetStorefront Staff - Scott's Avatar
    AspDotNetStorefront Staff - Scott is offline Administrator
    Join Date
    Mar 2007
    Location
    Ashland, OR
    Posts
    2,390

    Default

    That is possible with some source code modifications in the current version, yes.

    In ML9 (very soon now!) that will no longer require source code mods, just very simple web.config changes.