More in this section
Forums / Developing with Sitefinity / Add *.htm as another URL

Add *.htm as another URL

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Jason M
    Jason M avatar
    108 posts
    15 Jan 2007
    15 Oct 2008
    Link to this post
    We're in the process of migrating our old content (.asp, .htm) into Sitefinity and would like to mimimize broken links.  Since we've maintained the basic site structure I thought we could just add ~/page1.htm in the Another Url section, like so:

    Generated Url    ~/page1.aspx
    Another Url         ~/page1.htm

    However, doing so throws an "An item with the same key has already been added." exception.  Any way around this?  Am I better off using the using the Sitefinity Rewrite Url though the web.config?  What have others done?

    We're using version 3.2 SP1.

  2. Vlad
    Vlad avatar
    498 posts
    19 Jun 2017
    16 Oct 2008
    Link to this post
    Hi Jason M,

    This problem is fixed in Sitefinity v3.5.
    So the scenario like:

    Generated Url    ~/page1.aspx
    Another Url         ~/page1.htm

    ... is working fine there.

    Of course, you could also use
    Sitefinity Rewrite Url though the web.config.

    Kind regards,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
2 posts, 0 answered