Sub folder added to URL on Prod site, not local Dev site

Topics: Developer Forum
Feb 24, 2010 at 7:41 AM

When I run the site locally, I can run pages from the root URL such as:

http://localhost:8055/links.aspx running the website with a custom server and Base URL of:  http://localhost:8055

When the site is run on the web host, the link is:

http://websitename.com/websitename/links.aspx - Adding the /websitename/ subdirectory that I do not want. 

The sitemapNode is:

url="~/links.aspx"

The virtual path is:

<font size="2" color="#0000ff"><font size="2" color="#0000ff">

<

</font></font><font size="2" color="#0000ff">

 

</font>

VirtualPath>~/links.aspx</VirtualPath>

Another site that is running MWPSK runs the site on the web host without adding the extra /websitename/ directory.  Is there a setting that I need to change to remove the subdirectory?  

Thanks ..Troy