More in this section

Forums / Developing with Sitefinity / Best way to rewrite url

Best way to rewrite url

6 posts, 1 answered
  1. Victor
    Victor avatar
    94 posts
    Registered:
    15 Jun 2011
    26 Mar 2012
    Link to this post
    Hi,

    What is the best way to rewrite the following url:
    http://www.mydomain.com/yourstore/JoesStore

    so that the name of the page being called is "yourstore" and "JoesStore" is part of the query string.  I can do through normal IIS url rewriting, but I am looking for the "accepted" sitefinity way of accomplishing this.

    Thanks.
  2. MB
    MB avatar
    302 posts
    Registered:
    09 Jan 2005
    27 Mar 2012
    Link to this post
    Answered
  3. Victor
    Victor avatar
    94 posts
    Registered:
    15 Jun 2011
    28 Mar 2012
    Link to this post
    Easy to setup.  Did exactly what I needed it to.  Thanks.
  4. MB
    MB avatar
    302 posts
    Registered:
    09 Jan 2005
  5. Victor
    Victor avatar
    94 posts
    Registered:
    15 Jun 2011
    20 Apr 2012
    Link to this post
    Upon further development, it looks like this URL rewriter "breaks" some of the Ajax on the Telerik Web Controls.

    Is there another solution, more "Sitefifnity-Friendly"?
  6. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    Registered:
    18 Jul 2012
    20 Apr 2012
    Link to this post
    I've had great success using the IIS Url Rewrite module http://www.iis.net/download/URLRewrite

    I use it on my personal website for both redirecting the old .aspx extensions as well as using regex to rewrite the old date format for the urls.

    I've had no issues with the site since, have you tried using this module?

    hope this is helpful!
6 posts, 1 answered