Forum Moderators: open
My site is saved locally in a folder, that folder contains other folders, one being public_html. That is the root folder of my site as I assume it is for most sites.
However, whenever I create links inside of my site, before the locaion of the link dreamweaver is naming the link like so, public_html/folder/file.htm. The public_html part of the link also get uploaded to server and causes all kinds of dead links since the server see public_html as the root on the server.
What do I have to do to get dreamweaver to recognize the public_html folder as the root so it does not get included when link paths are named/created?
normally the homepage of a website would be index.htm(l) or home.htm(1) browsers via HTTP, allow this to be seen as a base.
From what i read of your site structure, you are uploading the folder that the contains the site base, sub-directories and files at level 1 and in the subs are in. No. you upload the contents of the PUBLIC folder, not the folder itself.
your realising a problem between how DW site structure works and how Windows treat files.
If you are still struggling, please could you expand on your explanation, so that i can gleam a better idea of what is happening if not what i have assumed above.
Go to Site -> Edit Sites. Select the site in question and choose Edit. Click the "Advanced" tab. Click on "Remote Info" in the list on the left. On the right, you should now see your host information there: FTP host, Host Directory, and login and password.
In the Host Directory field, put in public_html
OK your way out of there and try again.