+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Extensionless URLs Question

Extensionless URLs Question

5 posts, 0 answered
  1. bo jackson
    bo jackson avatar
    7 posts
    Registered:
    21 Dec 2009
    04 Aug 2010
    Link to this post
    I am in the processing of replacing an existing product inventory site with SiteFinity and have a question regarding extensionless urls. Currently their urls are something like "acme.com/tvs/sony/xsd892/89872" and wanted the same type of format within SF. How can I implement that within SF? I've tried the instructions in the user guide, (changing the web.config - pageExtension=".aspx" disabled="false") and now whenever I access the site I get the SF database setup page. I am running WIndows 7 64-bit in Integrated Pipeline mode.

    Also do I need to do anything different in the rewrite rule section in the web.config? I need to be able to break down the urls so I can create the query string,

    Thanks,

    Brian
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    04 Aug 2010
    Link to this post
    Hello bo jackson,

    Thank you for using our services.

    Could you make sure that the disabled property is set to false. If you set it to true you will go to the cms initialization page.

    Best wishes,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. bo jackson
    bo jackson avatar
    7 posts
    Registered:
    21 Dec 2009
    04 Aug 2010
    Link to this post
    I changed it to false, but now getting the 404 error page. Is there a way that if an aspx page is there it will render the page and if someone makes a request to an extensionless url I can handle it? I'm a tad bit confused on how the sf404 thing described in the manual is going to work. If someone makes a request like acme.com/tvs/sony/xsd892/89872 and it goes to the sf404 page how can I trap that in order to parse the url in order to make the right request?

    Thanks again,

  4. bo jackson
    bo jackson avatar
    7 posts
    Registered:
    21 Dec 2009
    05 Aug 2010
    Link to this post
    I finally got it working but ran into other issues. First thing my admin section does not work, keeps logging me out. The second issue is that the majority of my pages no longer work. Most of the pages have custom controls on them that call web services and when extensionless is activated they no longer work. When I switch back to extensions the controls work again. Any ideas?

    Would the best solution be to create a custom http module that handle the pages without extensions?
  5. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    09 Aug 2010
    Link to this post
    Hello bo jackson,

    Thank you for getting back to me.

    Could you try adding this to your web.config file:
    <system.webServer>
      <validation validateIntegratedModeConfiguration="false" />
      <modules runAllManagedModulesForAllRequests="true">

    This will fix your problem with the back-end loggin of. Instead of the sf404.aspx approach you can add a wildcard script handler to aspnet_isapi.dll and remove the use of sf404.aspx. This will also allow you to use extensionless Urls and your webservices should work.

    Greetings,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Register for webinar
5 posts, 0 answered