Blog engine 2.7 setup issue under sub directory

Feb 7, 2013 at 7:57 PM
Hi all,
I have setup BE 2.7 under sub directory in domain i.e It seem working fine showing my blogs. However I didn't pick the css and any image also when i click on link it showing my domain twice in link i.e; When I click on link it say no page found offcourse it getting wrong links. not sure why wrong and how to fix. fyi i have hosted my website on 123 reg.

Any idea please help!
Feb 9, 2013 at 12:42 PM
Edited Feb 9, 2013 at 12:43 PM
n the web.config, have you set the setting in the following format?

<add key="BlogEngine.VirtualPath" value="~/blogs/"/>

also check in you have an entry in blogs.xml in the [root]/App_Data folder similar to the one below:
<item id="82c4c32b-ec2d-4cab-a7bb-1a29ca862a35" name="Primary" hostName="" isAnyTextBeforeHostnameAccepted="False" storageContainerName="" virtualPath="~/blogs" isPrimary="True" isActive="True" />
if not, change the "~/" to "~/blogs"

If you are still having problems, try following this tutorial on how to install into a subdirectory...