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?