More in this section

Forums / Developing with Sitefinity / How to Link aspx pages

How to Link aspx pages

4 posts, 0 answered
  1. NIkhil
    NIkhil avatar
    11 posts
    Registered:
    13 Aug 2012
    27 Jan 2012
    Link to this post
    I am Creating Pages Using Sitefinity.
    But I want to link these Pages to Created Aspx Pages
  2. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    27 Jan 2012
    Link to this post
    Hi Nikhil,

    Can you explain in more details how you want to link the pages to the .aspx pages? Do you want the .aspx pages to be available on the same url as the newly created pages? It would be great if you provide us with more details on your use - case scenario.

    Kind regards,
    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. NIkhil
    NIkhil avatar
    11 posts
    Registered:
    13 Aug 2012
    30 Jan 2012
    Link to this post
    yes  I need  .aspx pages to be available on the same url as the newly created pages?
     For Exaple
    i have one page Developed throgh Sitefinity.
    and another page aspx page both pages i want to link them in the menu bar
    and also Menu bar will having only pages which was created through sitefinity
    Please help me


    Thanks & Regards
    Nikhil Kumar

  4. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    30 Jan 2012
    Link to this post
    Hi Nikhil,

    You can use the the additional URL property of the pages. For example you can have:

    page1 - http://mysite.com/page1

    and set the additional url for that page

    ~/page2.aspx

    you will have both addresses:

    http://mysite.com/page1 and http://mysite.com/page2.aspx pointing to page1.

    However by default all special symbols are forbidden in the urls. Thereforethe only way that you can workournd this is to use a 3rd party url rewriter module (urlrewiter.net for example) due to the fact that Sitefinity does not support special symbols in the URL fields and extensions. However if you use a rewriter, it should iterate over all the pages and for each additional url of a page generate a string like that:

    <rewriteurl="~/additionalUrl1"to="~/yourUrl.aspx"/>
        
    <rewriteurl="~/additionalUrl2"to="~/yourUrl.aspx"/>

    Regards,
    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
4 posts, 0 answered