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 2 of 2

Thread: URL Re-Write

  1. #1
    lakikeanu is offline Junior Member
    Join Date
    May 2009
    Posts
    2

    Default URL Re-Write

    We need url re-right settings to be changed.
    for e.g. currently url re-write produce http://whiteport.com.au/c-1-accessories.aspx link to the "accessories" category.
    we need a way to produce http://whiteport.com.au/accessories.aspx or http://whiteport.com.au/c/1/accessories.aspx something like that.
    if you please tell us a way we can do that? or something similar to that.
    we need accessories.aspx part separate.

    Thank You,
    Lakshitha Ruwan

  2. #2
    George the Great is offline Senior Member
    Join Date
    Nov 2006
    Location
    Cleveland, OH
    Posts
    1,792

    Default

    In your version, to do dynamically this will require access to the source code as you'll need to modify our URL rewrite rules class and adjust the web.config file. What you may want to do instead is create a tangible accessories.aspx and accessories.aspx.cs page, and hard code the category xmlpackage you want to call right into the page. Then anywhere on your site that links to c-1-, just change it to point to accessories.aspx.
    <a href="http://www.aspdotnetstorefront.com">Shopping Cart Software</a>