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

Forums / Deployment / Setting up a static page URL in user-control or masterpage.

Setting up a static page URL in user-control or masterpage.

1 posts, 0 answered
  1. Pritam
    Pritam avatar
    9 posts
    Registered:
    25 Jul 2008
    27 Jun 2012
    Link to this post
    Our project folder is not in root folder, it's in a subfolder like

    Local URL: http://xxx.xxx.xxx.xxx/devNoraxon/company

    Server URL: http://xxx.xxx.xxx.xxx/sitefinityprojects/noraxon/company

    This is 'company' page. Now, in our footer there is a link to go to "Company" page. If we set it as <a href='/company' >Company</a> then it goes to http://xxx.xxx.xxx.xxx/company at our localhost or to http://xxx.xxx.xxx.xxx/company at the server.

    How do we set the url so that it will work in both our localhost and server?
1 posts, 0 answered