More in this section

Forums / Developing with Sitefinity / Add *.htm as another URL

Add *.htm as another URL

2 posts, 0 answered
  1. Jason M
    Jason M avatar
    108 posts
    Registered:
    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.

    J
  2. Vlad
    Vlad avatar
    498 posts
    Registered:
    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,
    Vlad
    the Telerik team

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