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

Forums / Developing with Sitefinity / Exposing pages under a trailing / URL

Exposing pages under a trailing / URL

3 posts, 0 answered
  1. Chris Dodge
    Chris Dodge avatar
    16 posts
    Registered:
    17 Dec 2009
    01 Jul 2010
    Link to this post
    Hello,

    For SEO optimization and end-user cosmetic reasons, we'd like to explore exposing our URL structures with always a trailing '/' character, 

    For example, instead of /about-us.aspx we'd like the page to be exposed at /about-us/.

    I know that in IIS any refernces to a trailing / URL can be mapped to the default.aspx page under that folder.

    However, with Sitefinity URL dynamic mapping, I'm not sure if I can accommodate this request. If I create a page group of about-us in the Sitemap and then put a default.aspx page underneath it, I can't seem to reach the page under /about-us/.

    Also, the SItefinity admin page appears to suggest that such a page group would produce a page-redirect to the first page in the group. We'd like to not have a redirect and just retain the /about-us/ in the URL bar of the end-users browser.

    We have sufficient .NET development experience to write a HTTP Module to do the translation if need be. However, I'd like some better understanding of how the internal URL rewriting is occuring in the Sitefinity base platform and how we could put some custom code "in front" of any internal URL rewriting.

    Hopefully, I've been able to articulate this question correctly.

    Thanks.
  2. Chris Dodge
    Chris Dodge avatar
    16 posts
    Registered:
    17 Dec 2009
    01 Jul 2010
    Link to this post
    Sorry, one more bit of information. We're running Sitefinity 3.7 SP3 in a IIS 7.5 environment.
  3. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    02 Jul 2010
    Link to this post
    Hello Chris Dodge,

    You could take a look at our User Manual

    Extensionless URLs  - page 199 ( for Sitefintiy 3.7 SP3)
    URL Rewriting  page 195 ( for Sitefintiy 3.7 SP3)

    All the best,
    Ivan Dimitrov
    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
3 posts, 0 answered